<?php defined('IN_IA') or exit('Access Denied');?><?php (!empty($this) && $this instanceof WeModuleSite || 1) ? (include $this->template('common/header', TEMPLATE_INCLUDEPATH)) : (include template('common/header', TEMPLATE_INCLUDEPATH));?>
<div class="main">
	<form action="" method="post" class="form-horizontal form" enctype="multipart/form-data" id="form1">
		<ul class="nav nav-tabs" role="tablist">
		    <li role="presentation" class="active"><a href="#basic" role="tab" data-toggle="tab">基础设置</a></li>
			<li role="presentation"><a href="#waimaittnew" style="color:red;" role="tab" data-toggle="tab">首页设置</a></li>
			<li role="presentation"><a href="#xcx" role="tab" data-toggle="tab">小程序订阅消息设置</a></li>
			<li role="presentation"><a href="#fenxiao" role="tab" data-toggle="tab">分销佣金设置</a></li>
			<li role="presentation" style="color:red;"><a href="#credit" role="tab" data-toggle="tab">分销积分设置</a></li>
			<li role="presentation"><a href="#cash" role="tab" data-toggle="tab">结算/提现设置</a></li>
			<li role="presentation"><a href="#gzh" role="tab" data-toggle="tab">公众号设置</a></li>
			<li role="presentation"><a href="#waimaitt-meituan" role="tab" data-toggle="tab">美团页设置</a></li>
			<li role="presentation"><a href="#waimaitt-elm" role="tab" data-toggle="tab">饿了么页设置</a></li>	
			<li role="presentation"><a href="#user" role="tab" data-toggle="tab">个人中心设置</a></li>
			<li role="presentation"><a href="#eatwhat" role="tab" data-toggle="tab">今天吃什么设置</a></li>
			<li role="presentation"><a href="#tabbar" role="tab" data-toggle="tab">底部导航设置</a></li>
			<li role="presentation"><a href="#waimaitt-poster" role="tab" data-toggle="tab" style="display:none;">海报设置</a></li>
			<li role="presentation"><a href="#signin" role="tab" data-toggle="tab">签到设置</a></li>
			<li role="presentation"><a href="#credit" role="tab" data-toggle="tab" style="display:none;">积分兑换页面设置</a></li>
		    <li role="presentation"><a href="#myTab3" role="tab" data-toggle="tab">美团API设置</a></li>
		    <li role="presentation"><a href="#myTab4" role="tab" data-toggle="tab">淘宝API设置</a></li>
			<li role="presentation" style="color:red;"><a href="#mall" role="tab" data-toggle="tab">电商设置</a></li>
			<li role="presentation" style="color:red;"><a href="#movie" role="tab" data-toggle="tab">电影票设置</a></li>
			<li role="presentation"><a href="#ad" role="tab" data-toggle="tab">小程序广告设置</a></li>
			<li role="presentation"><a href="#job" role="tab" data-toggle="tab">计划任务</a></li>
			<li role="presentation"><a href="#xcxpath" role="tab" data-toggle="tab" style="display:none;">小程序路径</a></li>
			<li role="presentation"><a href="#change" role="tab" data-toggle="tab">联营数据迁移</a></li>
			<li role="presentation" style="background-color:blue;color:#FFFFFF;"><a href="#error" role="tab" data-toggle="tab">调试代码</a></li>
			<li role="presentation" style="background-color:orange;color:#FFFFFF;"><a href="#oldcontent" role="tab" data-toggle="tab">旧版内容设置</a></li>
		</ul>
		
		<div class="tab-content">
			<div role="tabpanel" class="tab-pane active panel panel-default main" id="basic">
			<div class="panel-heading">基础信息设置</div>
			<div class="panel-body">	
			    <div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否启用多号联营模式：</label>
					<div class="col-sm-9 col-xs-12">
						<label class="radio-inline"><input type="radio" name="data[system_type]" value="0" <?php  if($settings['system_type'] == 0) { ?>checked="true"<?php  } ?> /> 不启用</label>
						&nbsp;&nbsp;&nbsp;
						<label class="radio-inline"><input type="radio" name="data[system_type]" value="1" <?php  if($settings['system_type'] == 1) { ?>checked="true"<?php  } ?> /> 启用</label>
						<span class="help-block" style="color:red;">*多号联营指可以同时建立多个相同主体的小程序、公众号（服务号）来运营，数据共享互通，前提是需要全部接入微信开放平台。</span>
					</div>
				</div>
				<div class="form-group"><?php  if($_W['role']!='founder') { ?><?php  } else { ?><?php  } ?>
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">多号联营平台ID</label>
					<div class="col-sm-9 col-xs-12">
					  <input type="text" <?php  if($_W['role']!='founder') { ?>readonly="readonly"<?php  } else { ?><?php  } ?> name="data[system_id]" class="form-control" placeholder="" value="<?php  if($settings['system_id']) { ?><?php  echo $settings['system_id'];?><?php  } else { ?>0<?php  } ?>" />
					  <span class="help-block" style="color:red;">*<?php  if($_W['role']!='founder') { ?>请联系管理员分配联营平台ID。<?php  } else { ?>填写数字，同一个联营平台请填写相同的数字，没有则填0。<?php  } ?></span>
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">平台名称</label>
					<div class="col-sm-9 col-xs-12">
					  <input type="text" name="data[name]" class="form-control" placeholder="" value="<?php  echo $settings['name'];?>" /> 
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">起始用户编号</label>
					<div class="col-sm-9 col-xs-12">
					  <input type="text" name="data[uid]" class="form-control" placeholder="" value="<?php  if($settings['uid']) { ?><?php  echo $settings['uid'];?><?php  } else { ?>16800000<?php  } ?>" />
					  <span class="help-block" style="color:red;">*填写数字，第一个用户的编号会在此编号上+1，默认：16800000，最大值不要超过10位数字</span>
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">分享标题</label>
					<div class="col-sm-9 col-xs-12">
					  <input type="text" name="data[sharetitle]" class="form-control" placeholder="" value="<?php  echo $settings['sharetitle'];?>" /> 
					</div>
				</div>
				
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">分享图片：</label>
					<div class="col-sm-9 col-xs-12">
						<?php  echo tpl_form_field_image('data[sharethumb]', $settings['sharethumb'], '', array('extras' => array('text' => 'readonly')))?>
						<span class="help-block" style="color:red;">*图片尺寸：420*335</span>
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">客服点我发送图片：</label>
					<div class="col-sm-9 col-xs-12">
						<?php  echo tpl_form_field_image('data[dianwo]', $settings['dianwo'], '', array('extras' => array('text' => 'readonly')))?>
						<span class="help-block" style="color:red;">*图片尺寸：420*335</span>
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否强制登录：</label>
					<div class="col-sm-9 col-xs-12">
						<label class="radio-inline"><input type="radio" name="data[login_type]" value="0" <?php  if($settings['login_type'] == 0) { ?>checked="true"<?php  } ?> /> 不强制登录</label>
						&nbsp;&nbsp;&nbsp;
						<label class="radio-inline"><input type="radio" name="data[login_type]" value="1" <?php  if($settings['login_type'] == 1) { ?>checked="true"<?php  } ?> /> 强制登录</label>
						<span class="help-block" style="color:red;">*不强制登录，则只有个人中心会弹出登录框，其他页面不弹。</span>
					</div>
				</div>
				<div class="form-group" style="display:none;">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">淘宝授权提示文字</label>
					<div class="col-sm-9 col-xs-12">
					  <input type="text" name="data[taobaoauth_text]" class="form-control" placeholder="" value="<?php  if($settings['taobaoauth_text']) { ?><?php  echo $settings['taobaoauth_text'];?><?php  } else { ?>您好，授权绑定淘宝账号才能获得返现哦~<?php  } ?>" /> 
					  <span class="help-block" style="color:red;">*淘宝授权提示文字，默认为：您好，授权绑定淘宝账号才能获得返现哦~</span>
					</div>
				</div>
				<div class="form-group" style="display:none;">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">淘宝授权提示图片：</label>
					<div class="col-sm-9 col-xs-12">
						<?php  echo tpl_form_field_image('data[taobaoauth_pic]', $settings['taobaoauth_pic'], '', array('extras' => array('text' => 'readonly')))?>
						<span class="help-block" style="color:red;">*淘宝授权提示图片，不上传则使用默认图片</span>
					</div>
				</div>
				<div class="form-group" style="display:none;">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">点餐提醒文字</label>
					<div class="col-sm-9 col-xs-12">
					  <input type="text" name="data[warn_text]" class="form-control" placeholder="" value="<?php  if($settings['warn_text']) { ?><?php  echo $settings['warn_text'];?><?php  } else { ?>点餐提醒<?php  } ?>" /> 
					  <span class="help-block" style="color:red;">*点餐提醒工具文字提示，默认为：点餐提醒</span>
					</div>
				</div>
				<div class="form-group" style="display:none;">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">点餐提醒文字颜色</label>
					<div class="col-sm-9 col-xs-12">
					  <input type="text" name="data[warn_text_color]" class="form-control" placeholder="" value="<?php  if($settings['warn_text_color']) { ?><?php  echo $settings['warn_text_color'];?><?php  } else { ?>#FFFFFF<?php  } ?>" /> 
					  <span class="help-block" style="color:red;">*点餐提醒工具文字颜色，默认为白色：#FFFFFF</span>
					</div>
				</div>
				<div class="form-group" style="display:none;">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">点餐剩余次数提醒文字颜色</label>
					<div class="col-sm-9 col-xs-12">
					  <input type="text" name="data[warn_lefttext_color]" class="form-control" placeholder="" value="<?php  if($settings['warn_lefttext_color']) { ?><?php  echo $settings['warn_lefttext_color'];?><?php  } else { ?>#FFFFFF<?php  } ?>" /> 
					  <span class="help-block" style="color:red;">*点餐剩余次数文字颜色，默认为白色：#FFFFFF</span>
					</div>
				</div>
				<div class="form-group" style="display:none;">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">点餐提醒图片：</label>
					<div class="col-sm-9 col-xs-12">
						<?php  echo tpl_form_field_image('data[warn_pic]', $settings['warn_pic'], '', array('extras' => array('text' => 'readonly')))?>
						<span class="help-block" style="color:red;">*点餐提醒图片，尺寸：200*200，不上传则不显示点餐提醒</span>
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否显示积分商品</label>
					<div class="col-sm-9 col-xs-12">
						<label class="radio-inline"><input type="radio" name="data[index_is_credit]" value="1" <?php  if($settings['index_is_credit'] == 1 || !$settings['index_is_credit']) { ?>checked="true"<?php  } ?> /> 显示</label>
						&nbsp;&nbsp;&nbsp;
						<label class="radio-inline"><input type="radio" name="data[index_is_credit]" value="0" <?php  if($settings['index_is_credit'] == 0) { ?>checked="true"<?php  } ?> /> 隐藏</label>
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">首页显示积分商品个数</label>
					<div class="col-sm-9 col-xs-12">
					  <input type="text" name="data[index_creditnum]" class="form-control" placeholder="" value="<?php  if($settings['index_creditnum']) { ?><?php  echo $settings['index_creditnum'];?><?php  } else { ?>6<?php  } ?>" /> 
					  <span class="help-block" style="color:red;">*首页显示积分商品个数，默认6个</span>
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否显示热映电影</label>
					<div class="col-sm-9 col-xs-12">
						<label class="radio-inline"><input type="radio" name="data[index_is_movie]" value="1" <?php  if($settings['index_is_movie'] == 1 || !$settings['index_is_movie']) { ?>checked="true"<?php  } ?> /> 显示</label>
						&nbsp;&nbsp;&nbsp;
						<label class="radio-inline"><input type="radio" name="data[index_is_movie]" value="0" <?php  if($settings['index_is_movie'] == 0) { ?>checked="true"<?php  } ?> /> 隐藏</label>
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否显示待映电影</label>
					<div class="col-sm-9 col-xs-12">
						<label class="radio-inline"><input type="radio" name="data[index_is_comemovie]" value="1" <?php  if($settings['index_is_comemovie'] == 1 || !$settings['index_is_comemovie']) { ?>checked="true"<?php  } ?> /> 显示</label>
						&nbsp;&nbsp;&nbsp;
						<label class="radio-inline"><input type="radio" name="data[index_is_comemovie]" value="0" <?php  if($settings['index_is_comemovie'] == 0) { ?>checked="true"<?php  } ?> /> 隐藏</label>
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否显示电商商品</label>
					<div class="col-sm-9 col-xs-12">
						<label class="radio-inline"><input type="radio" name="data[index_is_mall]" value="1" <?php  if($settings['index_is_mall'] == 1) { ?>checked="true"<?php  } ?> /> 显示</label>
						&nbsp;&nbsp;&nbsp;
						<label class="radio-inline"><input type="radio" name="data[index_is_mall]" value="0" <?php  if($settings['index_is_mall'] == 0 || !$settings['index_is_mall']) { ?>checked="true"<?php  } ?> /> 隐藏</label>
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">文章列表页标题</label>
					<div class="col-sm-9 col-xs-12">
					  <input type="text" name="data[page_title]" class="form-control" placeholder="" value="<?php  if($settings['page_title']) { ?><?php  echo $settings['page_title'];?><?php  } else { ?>文章列表<?php  } ?>" /> 
					  <span class="help-block" style="color:red;">*文章列表页标题，默认为文章列表</span>
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">腾讯地图key</label>
					<div class="col-sm-9 col-xs-12">
					  <input type="text" name="data[qqmap_key]" class="form-control" placeholder="" value="<?php  if($settings['qqmap_key']) { ?><?php  echo $settings['qqmap_key'];?><?php  } else { ?><?php  } ?>" /> 
					  <span class="help-block" style="color:red;">*请去<a href="https://lbs.qq.com/"  target="_blank">https://lbs.qq.com/</a>申请（添加key时启用产品请选择WebServiceAPI），并将https://apis.map.qq.com添加到小程序管理后台 -> 开发 -> 开发管理 -> 开发设置 -> “服务器域名” 中设置request合法域名</span>
					</div>
				</div>
				<div class="form-group" style="display:none;">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">首页版面：</label>
					<div class="col-sm-9 col-xs-12">
						<label class="radio-inline"><input type="radio" name="data[index_type]" value="2" <?php  if($settings['index_type'] == 2) { ?>checked="true"<?php  } ?> /> 外卖1版</label>
						&nbsp;&nbsp;&nbsp;
						<label class="radio-inline"><input type="radio" name="data[index_type]" value="3" <?php  if($settings['index_type'] == 3) { ?>checked="true"<?php  } ?> /> 外卖2版</label>
						&nbsp;&nbsp;&nbsp;
						<label class="radio-inline"><input type="radio" name="data[index_type]" value="4" <?php  if($settings['index_type'] == 4) { ?>checked="true"<?php  } ?> /> 外卖3版</label>
					</div>
				</div>
				
			</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="xcx">
			    <div class="panel-heading">每天弹出订阅消息次数限制</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">每天弹出订阅消息次数限制</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[warn_tpl_daynum]" class="form-control" placeholder="" value="<?php  if($settings['warn_tpl_daynum']==0 || $settings['warn_tpl_daynum']>0) { ?><?php  echo $settings['warn_tpl_daynum'];?><?php  } else { ?>2<?php  } ?>" /> 
						  <span class="help-block" style="color:red;">*用户点击领取红包，每天弹出订阅消息提示的最大次数。</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">点餐提醒</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">点餐提醒通知模板消息ID</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[warn_yhq_tplid]" class="form-control" placeholder="" value="<?php  if($settings['warn_yhq_tplid']) { ?><?php  echo $settings['warn_yhq_tplid'];?><?php  } else { ?><?php  } ?>" /> 
						  <span class="help-block" style="color:red;">*点餐提醒通知模板消息ID，请去微信小程序后台添加订阅消息，可搜索：优惠券发放通知（服务类目：广告/设计），依次选择：优惠券类型、优惠券面值</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">点餐提醒通知模板消息：第一个字段名称</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[warn_yhq_tplid_1]" class="form-control" placeholder="" value="<?php  if($settings['warn_yhq_tplid_1']) { ?><?php  echo $settings['warn_yhq_tplid_1'];?><?php  } else { ?>thing1<?php  } ?>" /> 
						  <span class="help-block" style="color:red;">*请根据自己选用的模板设置字段名称，默认为：thing1</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">点餐提醒通知模板消息：第一个字段内容</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[warn_yhq_tplid_1_text]" class="form-control" placeholder="" value="<?php  if($settings['warn_yhq_tplid_1_text']) { ?><?php  echo $settings['warn_yhq_tplid_1_text'];?><?php  } else { ?>领取外卖优惠券<?php  } ?>" /> 
						  <span class="help-block" style="color:red;">*根据自己的模板消息设置，字数不超过20个字，默认为：领取外卖优惠券</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">点餐提醒通知模板消息：第二个字段名称</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[warn_yhq_tplid_2]" class="form-control" placeholder="" value="<?php  if($settings['warn_yhq_tplid_2']) { ?><?php  echo $settings['warn_yhq_tplid_2'];?><?php  } else { ?>thing2<?php  } ?>" /> 
						  <span class="help-block" style="color:red;">*请根据自己选用的模板设置字段名称，默认为：thing2</span>
						</div>
					</div>
					<div class="form-group">
					    <label class="col-xs-12 col-sm-3 col-md-2 control-label">点餐提醒通知模板消息：第二个字段内容</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[warn_yhq_tplid_2_text]" class="form-control" placeholder="" value="<?php  if($settings['warn_yhq_tplid_2_text']) { ?><?php  echo $settings['warn_yhq_tplid_2_text'];?><?php  } else { ?>最高56元<?php  } ?>" /> 
						  <span class="help-block" style="color:red;">*根据自己的模板消息设置，字数不超过20个字，默认为：最高56元</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">好友关注</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">好友关注提醒模板消息ID</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[warn_hy_tplid]" class="form-control" placeholder="" value="<?php  if($settings['warn_hy_tplid']) { ?><?php  echo $settings['warn_hy_tplid'];?><?php  } else { ?><?php  } ?>" /> 
						  <span class="help-block" style="color:red;">*好友关注提醒模板消息ID，请去微信小程序后台添加订阅消息，可搜索：好友关注提醒（服务类目：视频客服），依次选择：关注人、关注时间</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">好友关注提醒模板消息：第一个字段名称</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[warn_hy_tplid_1]" class="form-control" placeholder="" value="<?php  if($settings['warn_hy_tplid_1']) { ?><?php  echo $settings['warn_hy_tplid_1'];?><?php  } else { ?>thing1<?php  } ?>" /> 
						  <span class="help-block" style="color:red;">*请根据自己选用的模板设置字段名称，默认为：thing1</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">好友关注提醒模板消息：第二个字段名称</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[warn_hy_tplid_2]" class="form-control" placeholder="" value="<?php  if($settings['warn_hy_tplid_2']) { ?><?php  echo $settings['warn_hy_tplid_2'];?><?php  } else { ?>time2<?php  } ?>" /> 
						  <span class="help-block" style="color:red;">*第二个字段显示的是时间，请根据自己选用的模板设置字段名称，默认为：time2</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">新订单通知</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">新订单通知模板消息ID</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[warn_order_tplid]" class="form-control" placeholder="" value="<?php  if($settings['warn_order_tplid']) { ?><?php  echo $settings['warn_order_tplid'];?><?php  } else { ?><?php  } ?>" /> 
						  <span class="help-block" style="color:red;">*新订单通知模板消息ID，请去微信小程序后台添加订阅消息，可搜索：新订单通知（服务类目：广告/设计），依次选择：订单号、下单时间、订单金额、物品名称</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">新订单通知模板消息：第一个字段名称</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[warn_order_tplid_1]" class="form-control" placeholder="" value="<?php  if($settings['warn_order_tplid_1']) { ?><?php  echo $settings['warn_order_tplid_1'];?><?php  } else { ?>character_string1<?php  } ?>" /> 
						  <span class="help-block" style="color:red;">*请根据自己选用的模板设置字段名称，默认为：character_string1</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">新订单通知模板消息：第二个字段名称</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[warn_order_tplid_2]" class="form-control" placeholder="" value="<?php  if($settings['warn_order_tplid_2']) { ?><?php  echo $settings['warn_order_tplid_2'];?><?php  } else { ?>date2<?php  } ?>" /> 
						  <span class="help-block" style="color:red;">*请根据自己选用的模板设置字段名称，默认为：date2</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">新订单通知模板消息：第三个字段名称</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[warn_order_tplid_3]" class="form-control" placeholder="" value="<?php  if($settings['warn_order_tplid_3']) { ?><?php  echo $settings['warn_order_tplid_3'];?><?php  } else { ?>amount7<?php  } ?>" /> 
						  <span class="help-block" style="color:red;">*请根据自己选用的模板设置字段名称，默认为：amount7</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">新订单通知模板消息：第四个字段名称</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[warn_order_tplid_4]" class="form-control" placeholder="" value="<?php  if($settings['warn_order_tplid_4']) { ?><?php  echo $settings['warn_order_tplid_4'];?><?php  } else { ?>thing6<?php  } ?>" /> 
						  <span class="help-block" style="color:red;">*请根据自己选用的模板设置字段名称，默认为：thing6</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">签到提醒</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">签到提醒通知模板消息ID</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[warn_qiandao_tplid]" class="form-control" placeholder="" value="<?php  if($settings['warn_qiandao_tplid']) { ?><?php  echo $settings['warn_qiandao_tplid'];?><?php  } else { ?><?php  } ?>" /> 
						  <span class="help-block" style="color:red;">*签到提醒通知模板消息ID，请去微信小程序后台添加订阅消息，可搜索：活动签到提醒（服务类目：广告/设计），依次选择：活动名称、备注</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">签到提醒通知模板消息：第一个字段名称</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[warn_qiandao_tplid_1]" class="form-control" placeholder="" value="<?php  if($settings['warn_qiandao_tplid_1']) { ?><?php  echo $settings['warn_qiandao_tplid_1'];?><?php  } else { ?>thing2<?php  } ?>" /> 
						  <span class="help-block" style="color:red;">*请根据自己选用的模板设置字段名称，默认为：thing2</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">签到提醒通知模板消息：第一个字段内容</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[warn_qiandao_tplid_1_text]" class="form-control" placeholder="" value="<?php  if($settings['warn_qiandao_tplid_1_text']) { ?><?php  echo $settings['warn_qiandao_tplid_1_text'];?><?php  } else { ?>签到任务<?php  } ?>" /> 
						  <span class="help-block" style="color:red;">*根据自己的模板消息设置，字数不超过20个字，默认为：签到任务</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">签到提醒通知模板消息：第二个字段名称</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[warn_qiandao_tplid_2]" class="form-control" placeholder="" value="<?php  if($settings['warn_qiandao_tplid_2']) { ?><?php  echo $settings['warn_qiandao_tplid_2'];?><?php  } else { ?>thing4<?php  } ?>" /> 
						  <span class="help-block" style="color:red;">*请根据自己选用的模板设置字段名称，默认为：thing4</span>
						</div>
					</div>
					<div class="form-group">
					    <label class="col-xs-12 col-sm-3 col-md-2 control-label">签到提醒通知模板消息：第二个字段内容</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[warn_qiandao_tplid_2_text]" class="form-control" placeholder="" value="<?php  if($settings['warn_qiandao_tplid_2_text']) { ?><?php  echo $settings['warn_qiandao_tplid_2_text'];?><?php  } else { ?>连续签到可获得积分大礼<?php  } ?>" /> 
						  <span class="help-block" style="color:red;">*根据自己的模板消息设置，字数不超过20个字，默认为：连续签到可获得积分大礼</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">订单发货通知</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">订单发货通知模板消息ID</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[item_tplid]" class="form-control" placeholder="" value="<?php  if($settings['item_tplid']) { ?><?php  echo $settings['item_tplid'];?><?php  } else { ?><?php  } ?>" /> 
						  <span class="help-block" style="color:red;">*订单发货通知模板消息ID，请去微信小程序后台添加订阅消息，可搜索：订单发货通知（服务类目：广告/设计），依次选择：商品名称、订单编号、发货时间</span>
						</div>
					</div>
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="waimai">
				<div class="panel-heading">外卖1版首页设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部导航栏背景色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimai_navigationBarBackgroundColor]" class="form-control" placeholder="" value="<?php  if($settings['waimai_navigationBarBackgroundColor']) { ?><?php  echo $settings['waimai_navigationBarBackgroundColor'];?><?php  } else { ?>#e25947<?php  } ?>" />
						  <span class="help-block" style="color:red;">*顶部导航栏背景色，默认为#e25947红色</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部导航栏标题颜色</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[waimai_navigationBarTextStyle]" value="#000000" <?php  if($settings['waimai_navigationBarTextStyle'] == '#000000') { ?>checked="true"<?php  } ?> /> 黑色</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[waimai_navigationBarTextStyle]" value="#ffffff" <?php  if($settings['waimai_navigationBarTextStyle'] == '#ffffff') { ?>checked="true"<?php  } else { ?><?php  if($settings['waimai_navigationBarTextStyle'] == '') { ?>checked="true"<?php  } ?><?php  } ?> /> 白色</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部导航栏标题</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimai_navigationBarTitleText]" class="form-control" placeholder="" value="<?php  if($settings['waimai_navigationBarTitleText']) { ?><?php  echo $settings['waimai_navigationBarTitleText'];?><?php  } else { ?>首页<?php  } ?>" />
						  <span class="help-block" style="color:red;">*顶部导航栏标题，默认为：首页</span>
						</div>
					</div>
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">页面背景色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimai_bgcolor]" class="form-control" placeholder="" value="<?php  if($settings['waimai_bgcolor']) { ?><?php  echo $settings['waimai_bgcolor'];?><?php  } else { ?>#e25947<?php  } ?>" />
						  <span class="help-block" style="color:red;">*页面背景色，默认为#e25947红色</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否显示新版工具栏：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[waimai_is_tools]" value="1" <?php  if($settings['waimai_is_tools'] == 1) { ?>checked="true"<?php  } ?> /> 显示</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[waimai_is_tools]" value="0" <?php  if($settings['waimai_is_tools'] == 0) { ?>checked="true"<?php  } ?> /> 隐藏</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">新版工具栏左边图片：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[waimai_leftpic]', $settings['waimai_leftpic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图片尺寸：353*252，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">新版工具栏中间图片：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[waimai_midpic]', $settings['waimai_midpic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图片尺寸：353*252，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">新版工具栏右边图片：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[waimai_rightpic]', $settings['waimai_rightpic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图片尺寸：353*252，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">轮播宽度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[lunbo_width]" class="form-control" placeholder="" value="<?php  if($settings['lunbo_width']) { ?><?php  echo $settings['lunbo_width'];?><?php  } else { ?>750<?php  } ?>" />
						  <span class="help-block" style="color:red;">*轮播组件宽度，默认为750</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">轮播高度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[lunbo_height]" class="form-control" placeholder="" value="<?php  if($settings['lunbo_height']) { ?><?php  echo $settings['lunbo_height'];?><?php  } else { ?>255<?php  } ?>" />
						  <span class="help-block" style="color:red;">*轮播组件宽度，默认为255</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">轮播图片圆角尺寸</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[lunbo_borderRadius]" class="form-control" placeholder="" value="<?php  if($settings['lunbo_borderRadius']) { ?><?php  echo $settings['lunbo_borderRadius'];?><?php  } else { ?>10<?php  } ?>" />
						  <span class="help-block" style="color:red;">*轮播图片圆角尺寸，默认为10</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">轮播图片间距</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[lunbo_spacing]" class="form-control" placeholder="" value="<?php  if($settings['lunbo_spacing']) { ?><?php  echo $settings['lunbo_spacing'];?><?php  } else { ?>40<?php  } ?>" />
						  <span class="help-block" style="color:red;">*轮播图片间距，默认为40</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">轮播非激活项目的缩小间距</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[lunbo_padding]" class="form-control" placeholder="" value="<?php  if($settings['lunbo_padding']) { ?><?php  echo $settings['lunbo_padding'];?><?php  } else { ?>26<?php  } ?>" />
						  <span class="help-block" style="color:red;">*轮播非激活项目的缩小间距，默认为26</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否显示进度圆点</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[lunbo_indicatorType]" class="form-control" placeholder="" value="<?php  if($settings['lunbo_indicatorType']) { ?><?php  echo $settings['lunbo_indicatorType'];?><?php  } else { ?>dot<?php  } ?>" />
						  <span class="help-block" style="color:red;">*是否显示进度圆点：none为不显示，dot为显示，默认值为：dot</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航图标圆角尺寸</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[daohang_border_radius]" class="form-control" placeholder="" value="<?php  if($settings['daohang_border_radius']) { ?><?php  echo $settings['daohang_border_radius'];?><?php  } else { ?>50%<?php  } ?>" />
						  <span class="help-block" style="color:red;">*导航图标圆角尺寸，默认为50%</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">单个导航宽度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[daohang_width]" class="form-control" placeholder="" value="<?php  if($settings['daohang_width']) { ?><?php  echo $settings['daohang_width'];?><?php  } else { ?>150<?php  } ?>" />
						  <span class="help-block" style="color:red;">*单个导航宽度，默认为150，填150一排放5个图标，填187.5一排放4个图标，填250一排可以放3个图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">单个导航图片宽度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[daohang_iconwidth]" class="form-control" placeholder="" value="<?php  if($settings['daohang_iconwidth']) { ?><?php  echo $settings['daohang_iconwidth'];?><?php  } else { ?>110<?php  } ?>" />
						  <span class="help-block" style="color:red;">*单个导航图片宽度，默认为110</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">单个导航图片高度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[daohang_iconheight]" class="form-control" placeholder="" value="<?php  if($settings['daohang_iconheight']) { ?><?php  echo $settings['daohang_iconheight'];?><?php  } else { ?>110<?php  } ?>" />
						  <span class="help-block" style="color:red;">*单个导航图片高度，默认为110</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航图标阴影颜色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[daohang_box_shadow_bgcolor]" class="form-control" placeholder="" value="<?php  if($settings['daohang_box_shadow_bgcolor']) { ?><?php  echo $settings['daohang_box_shadow_bgcolor'];?><?php  } else { ?>#FFFFFF<?php  } ?>" />
						  <span class="help-block" style="color:red;">*导航图标阴影颜色，默认为#FFFFFF白色</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航图标阴影大小</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[daohang_box_shadow]" class="form-control" placeholder="" value="<?php  if($settings['daohang_box_shadow']) { ?><?php  echo $settings['daohang_box_shadow'];?><?php  } else { ?>20<?php  } ?>" />
						  <span class="help-block" style="color:red;">*导航图标阴影大小，默认为20</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航文字大小</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[daohang_textsize]" class="form-control" placeholder="" value="<?php  if($settings['daohang_textsize']) { ?><?php  echo $settings['daohang_textsize'];?><?php  } else { ?>26<?php  } ?>" />
						  <span class="help-block" style="color:red;">*导航文字大小，默认为26</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航文字眼色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[daohang_textcolor]" class="form-control" placeholder="" value="<?php  if($settings['daohang_textcolor']) { ?><?php  echo $settings['daohang_textcolor'];?><?php  } else { ?>#FFFFFF<?php  } ?>" />
						  <span class="help-block" style="color:red;">*导航文字颜色，默认为白色#FFFFFF</span>
						</div>
					</div>
					
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="waimaitt">
				<div class="panel-heading">外卖2版首页设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部导航栏背景色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_navigationBarBackgroundColor]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_navigationBarBackgroundColor']) { ?><?php  echo $settings['waimaitt_navigationBarBackgroundColor'];?><?php  } else { ?>#e25947<?php  } ?>" />
						  <span class="help-block" style="color:red;">*顶部导航栏背景色，默认为#e25947红色</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部导航栏标题颜色</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[waimaitt_navigationBarTextStyle]" value="#000000" <?php  if($settings['waimaitt_navigationBarTextStyle'] == '#000000') { ?>checked="true"<?php  } ?> /> 黑色</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[waimaitt_navigationBarTextStyle]" value="#ffffff" <?php  if($settings['waimaitt_navigationBarTextStyle'] == '#ffffff') { ?>checked="true"<?php  } else { ?><?php  if($settings['waimaitt_navigationBarTextStyle'] == '') { ?>checked="true"<?php  } ?><?php  } ?> /> 白色</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部导航栏标题</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_navigationBarTitleText]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_navigationBarTitleText']) { ?><?php  echo $settings['waimaitt_navigationBarTitleText'];?><?php  } else { ?>首页<?php  } ?>" />
						  <span class="help-block" style="color:red;">*顶部导航栏标题，默认为：首页</span>
						</div>
					</div>
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">页面背景色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_bgcolor]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_bgcolor']) { ?><?php  echo $settings['waimaitt_bgcolor'];?><?php  } else { ?>#ededed<?php  } ?>" />
						  <span class="help-block" style="color:red;">*页面背景色，默认为#ededed浅灰色</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部轮播背景色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_lunbobannerbgcolor]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_lunbobannerbgcolor']) { ?><?php  echo $settings['waimaitt_lunbobannerbgcolor'];?><?php  } else { ?>#FFFFFF<?php  } ?>" />
						  <span class="help-block" style="color:red;">*顶部轮播背景色，默认为#FFFFFF白色</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部轮播半幅背景色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_lunbobgcolor]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_lunbobgcolor']) { ?><?php  echo $settings['waimaitt_lunbobgcolor'];?><?php  } else { ?>#e25947<?php  } ?>" />
						  <span class="help-block" style="color:red;">*顶部轮播半幅背景色，默认为#e25947红色</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部轮播背景上部高度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_lunbobgupheight]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_lunbobgupheight']) { ?><?php  echo $settings['waimaitt_lunbobgupheight'];?><?php  } else { ?>55%<?php  } ?>" />
						  <span class="help-block" style="color:red;">*轮播背景上部高度，默认为55%</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部轮播背景下部高度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_lunbobgdownheight]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_lunbobgdownheight']) { ?><?php  echo $settings['waimaitt_lunbobgdownheight'];?><?php  } else { ?>40<?php  } ?>" />
						  <span class="help-block" style="color:red;">*轮播背景下部高度，默认为40</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部轮播背景下部圆角尺寸</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_lunbobgdownradius]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_lunbobgdownradius']) { ?><?php  echo $settings['waimaitt_lunbobgdownradius'];?><?php  } else { ?>50%<?php  } ?>" />
						  <span class="help-block" style="color:red;">*轮播背景下部圆角尺寸，默认为50%</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">轮播宽度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_lunbo_width]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_lunbo_width']) { ?><?php  echo $settings['waimaitt_lunbo_width'];?><?php  } else { ?>750<?php  } ?>" />
						  <span class="help-block" style="color:red;">*轮播组件宽度，默认为750</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">轮播高度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_lunbo_height]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_lunbo_height']) { ?><?php  echo $settings['waimaitt_lunbo_height'];?><?php  } else { ?>255<?php  } ?>" />
						  <span class="help-block" style="color:red;">*轮播组件宽度，默认为255</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">轮播图片圆角尺寸</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_lunbo_borderRadius]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_lunbo_borderRadius']) { ?><?php  echo $settings['waimaitt_lunbo_borderRadius'];?><?php  } else { ?>10<?php  } ?>" />
						  <span class="help-block" style="color:red;">*轮播图片圆角尺寸，默认为10</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">轮播图片间距</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_lunbo_spacing]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_lunbo_spacing']) { ?><?php  echo $settings['waimaitt_lunbo_spacing'];?><?php  } else { ?>40<?php  } ?>" />
						  <span class="help-block" style="color:red;">*轮播图片间距，默认为40</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">轮播非激活项目的缩小间距</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_lunbo_padding]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_lunbo_padding']) { ?><?php  echo $settings['waimaitt_lunbo_padding'];?><?php  } else { ?>26<?php  } ?>" />
						  <span class="help-block" style="color:red;">*轮播非激活项目的缩小间距，默认为26</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否显示进度圆点</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_lunbo_indicatorType]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_lunbo_indicatorType']) { ?><?php  echo $settings['waimaitt_lunbo_indicatorType'];?><?php  } else { ?>dot<?php  } ?>" />
						  <span class="help-block" style="color:red;">*是否显示进度圆点：none为不显示，dot为显示，默认值为：dot</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航背景色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_daohang_bgcolor]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_daohang_bgcolor']) { ?><?php  echo $settings['waimaitt_daohang_bgcolor'];?><?php  } else { ?>#FFFFFF<?php  } ?>" />
						  <span class="help-block" style="color:red;">*导航背景色，默认为白色#FFFFFF</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航图标圆角尺寸</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_daohang_border_radius]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_daohang_border_radius']) { ?><?php  echo $settings['waimaitt_daohang_border_radius'];?><?php  } else { ?>50%<?php  } ?>" />
						  <span class="help-block" style="color:red;">*导航图标圆角尺寸，默认为50%</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">单个导航宽度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_daohang_width]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_daohang_width']) { ?><?php  echo $settings['waimaitt_daohang_width'];?><?php  } else { ?>150<?php  } ?>" />
						  <span class="help-block" style="color:red;">*单个导航宽度，默认为150，填150一排放5个图标，填187.5一排放4个图标，填250一排可以放3个图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">单个导航图片宽度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_daohang_iconwidth]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_daohang_iconwidth']) { ?><?php  echo $settings['waimaitt_daohang_iconwidth'];?><?php  } else { ?>110<?php  } ?>" />
						  <span class="help-block" style="color:red;">*单个导航图片宽度，默认为110</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">单个导航图片高度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_daohang_iconheight]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_daohang_iconheight']) { ?><?php  echo $settings['waimaitt_daohang_iconheight'];?><?php  } else { ?>110<?php  } ?>" />
						  <span class="help-block" style="color:red;">*单个导航图片高度，默认为110</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航图标阴影颜色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_daohang_box_shadow_bgcolor]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_daohang_box_shadow_bgcolor']) { ?><?php  echo $settings['waimaitt_daohang_box_shadow_bgcolor'];?><?php  } else { ?>#FFFFFF<?php  } ?>" />
						  <span class="help-block" style="color:red;">*导航图标阴影颜色，默认为#FFFFFF白色</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航图标阴影大小</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_daohang_box_shadow]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_daohang_box_shadow']) { ?><?php  echo $settings['waimaitt_daohang_box_shadow'];?><?php  } else { ?>20<?php  } ?>" />
						  <span class="help-block" style="color:red;">*导航图标阴影大小，默认为20</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航文字大小</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_daohang_textsize]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_daohang_textsize']) { ?><?php  echo $settings['waimaitt_daohang_textsize'];?><?php  } else { ?>26<?php  } ?>" />
						  <span class="help-block" style="color:red;">*导航文字大小，默认为26</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航文字颜色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_daohang_textcolor]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_daohang_textcolor']) { ?><?php  echo $settings['waimaitt_daohang_textcolor'];?><?php  } else { ?>#000000<?php  } ?>" />
						  <span class="help-block" style="color:red;">*导航文字颜色，默认为白色#000000</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否显示工具栏：</label>
						<div class="col-sm-9 col-xs-12">
						    <label class="radio-inline"><input type="radio" name="data[waimaitt_is_oldtools]" value="0" <?php  if($settings['waimaitt_is_oldtools'] == 0) { ?>checked="true"<?php  } ?> /> 隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[waimaitt_is_oldtools]" value="1" <?php  if($settings['waimaitt_is_oldtools'] == 1) { ?>checked="true"<?php  } ?> /> 显示</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏背景色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_tools_bgcolor]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_tools_bgcolor']) { ?><?php  echo $settings['waimaitt_tools_bgcolor'];?><?php  } else { ?>#FFFFFF<?php  } ?>" />
						  <span class="help-block" style="color:red;">*工具栏背景色，默认为白色#FFFFFF</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏底部圆角尺寸</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_tools_radius]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_tools_radius']) { ?><?php  echo $settings['waimaitt_tools_radius'];?><?php  } else { ?>20<?php  } ?>" />
						  <span class="help-block" style="color:red;">*工具栏底部圆角尺寸，默认为20（单位为：rpx）</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏添加小程序图标：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[waimaitt_tools_addpic]', $settings['waimaitt_tools_addpic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图标尺寸：200*200，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏添加小程序文字：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_tools_addtext]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_tools_addtext']) { ?><?php  echo $settings['waimaitt_tools_addtext'];?><?php  } else { ?>添加小程序<?php  } ?>" />
						  <span class="help-block" style="color:red;">*工具栏添加小程序文字，默认为：添加小程序</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏分享给好友图标：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[waimaitt_tools_sharepic]', $settings['waimaitt_tools_sharepic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图标尺寸：200*200，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏分享给好友文字：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_tools_sharetext]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_tools_sharetext']) { ?><?php  echo $settings['waimaitt_tools_sharetext'];?><?php  } else { ?>分享给好友<?php  } ?>" />
						  <span class="help-block" style="color:red;">*工具栏分享给好友文字，默认为：分享给好友</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否显示新版工具栏：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[waimaitt_is_tools]" value="1" <?php  if($settings['waimaitt_is_tools'] == 1) { ?>checked="true"<?php  } ?> /> 显示</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[waimaitt_is_tools]" value="0" <?php  if($settings['waimaitt_is_tools'] == 0) { ?>checked="true"<?php  } ?> /> 隐藏</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">新版工具栏左边图片：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[waimaitt_leftpic]', $settings['waimaitt_leftpic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图片尺寸：353*252，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">新版工具栏中间图片：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[waimaitt_midpic]', $settings['waimaitt_midpic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图片尺寸：353*252，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">新版工具栏右边图片：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[waimaitt_rightpic]', $settings['waimaitt_rightpic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图片尺寸：353*252，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容标题文字大小：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_list_textsize]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_list_textsize']) { ?><?php  echo $settings['waimaitt_list_textsize'];?><?php  } else { ?>30<?php  } ?>" />
						  <span class="help-block" style="color:red;">*列表内容标题文字大小，默认为：30（单位为：rpx）</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容标题文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_list_textcolor]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_list_textcolor']) { ?><?php  echo $settings['waimaitt_list_textcolor'];?><?php  } else { ?>#000000<?php  } ?>" />
						  <span class="help-block" style="color:red;">*列表内容标题文字颜色，默认为黑色：#000000</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容金额文字大小：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_list_jinesize]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_list_jinesize']) { ?><?php  echo $settings['waimaitt_list_jinesize'];?><?php  } else { ?>52<?php  } ?>" />
						  <span class="help-block" style="color:red;">*列表内容金额文字大小，默认为：52（单位为：rpx）</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容金额文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_list_jinecolor]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_list_jinecolor']) { ?><?php  echo $settings['waimaitt_list_jinecolor'];?><?php  } else { ?>#ff304d<?php  } ?>" />
						  <span class="help-block" style="color:red;">*列表内容金额文字颜色，默认为红色：#ff304d</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容金额单位文字大小：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_list_unitsize]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_list_unitsize']) { ?><?php  echo $settings['waimaitt_list_unitsize'];?><?php  } else { ?>28<?php  } ?>" />
						  <span class="help-block" style="color:red;">*列表内容金额单位文字大小，默认为：28（单位为：rpx）</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容金额单位文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_list_unitcolor]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_list_unitcolor']) { ?><?php  echo $settings['waimaitt_list_unitcolor'];?><?php  } else { ?>#ff304d<?php  } ?>" />
						  <span class="help-block" style="color:red;">*列表内容金额单位文字颜色，默认为红色：#ff304d</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容“今日仅剩”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_list_jinsize]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_list_jinsize']) { ?><?php  echo $settings['waimaitt_list_jinsize'];?><?php  } else { ?>28<?php  } ?>" />
						  <span class="help-block" style="color:red;">*列表内容“今日仅剩”文字大小，默认为：28（单位为：rpx）</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容“今日仅剩”文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_list_jincolor]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_list_jincolor']) { ?><?php  echo $settings['waimaitt_list_jincolor'];?><?php  } else { ?>#aa1e3b<?php  } ?>" />
						  <span class="help-block" style="color:red;">*列表内容“今日仅剩”文字颜色，默认为深红色：#aa1e3b</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容“今日仅剩”背景色：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaitt_list_jinbgcolor]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_list_jinbgcolor']) { ?><?php  echo $settings['waimaitt_list_jinbgcolor'];?><?php  } else { ?>#ffebe3<?php  } ?>" />
						  <span class="help-block" style="color:red;">*列表内容“今日仅剩”背景色，默认为浅红色：#ffebe3</span>
						</div>
					</div>
					
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="waimaittnew">
				<div class="panel-heading">首页设置（新版本）</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否显示顶部搜索框</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[waimaittnew_index_search]" value="1" <?php  if($settings['waimaittnew_index_search'] == 1) { ?>checked="true"<?php  } ?> /> 隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[waimaittnew_index_search]" value="0" <?php  if($settings['waimaittnew_index_search'] == 0) { ?>checked="true"<?php  } else { ?><?php  if($settings['waimaittnew_index_search'] == '') { ?>checked="true"<?php  } ?><?php  } ?> /> 显示</label>
						</div>
					</div>
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部导航栏背景色</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaittnew_navigationBarBackgroundColor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaittnew_navigationBarBackgroundColor]',$settings['waimaittnew_navigationBarBackgroundColor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaittnew_navigationBarBackgroundColor]','#e25947')?>
							<?php  } ?>
						  <span class="help-block" style="color:red;">*顶部导航栏背景色，默认为#e25947红色</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部导航栏标题颜色</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaittnew_navigationBarTextStyle']) { ?>
								<?php  echo tpl_form_field_color('data[waimaittnew_navigationBarTextStyle]',$settings['waimaittnew_navigationBarTextStyle'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaittnew_navigationBarTextStyle]','#FFFFFF')?>
							<?php  } ?>
						  <span class="help-block" style="color:red;">*顶部导航栏标题颜色，默认为#FFFFFF白色</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部导航栏标题</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_navigationBarTitleText]" class="form-control" placeholder="" value="<?php  if($settings['waimaittnew_navigationBarTitleText']) { ?><?php  echo $settings['waimaittnew_navigationBarTitleText'];?><?php  } else { ?>首页<?php  } ?>" />
						  <span class="help-block" style="color:red;">*顶部导航栏标题，默认为：首页</span>
						</div>
					</div>
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">页面背景色</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaittnew_bgcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaittnew_bgcolor]',$settings['waimaittnew_bgcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaittnew_bgcolor]','#F6F6F6')?>
							<?php  } ?>
						  <span class="help-block" style="color:red;">*页面背景色，默认为#F6F6F6浅灰色</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部轮播背景色</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaittnew_lunbobannerbgcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaittnew_lunbobannerbgcolor]',$settings['waimaittnew_lunbobannerbgcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaittnew_lunbobannerbgcolor]','#FFFFFF')?>
							<?php  } ?>
						  <span class="help-block" style="color:red;">*顶部轮播背景色，默认为#FFFFFF白色</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部轮播半幅背景色</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaittnew_lunbobgcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaittnew_lunbobgcolor]',$settings['waimaittnew_lunbobgcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaittnew_lunbobgcolor]','#e25947')?>
							<?php  } ?>
						  <span class="help-block" style="color:red;">*顶部轮播半幅背景色，默认为#e25947红色</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部轮播背景上部高度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_lunbobgupheight]" class="form-control" placeholder="" value="<?php  if($settings['waimaittnew_lunbobgupheight']) { ?><?php  echo $settings['waimaittnew_lunbobgupheight'];?><?php  } else { ?>55%<?php  } ?>" />
						  <span class="help-block" style="color:red;">*轮播背景上部高度，默认为55%</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部轮播背景下部高度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_lunbobgdownheight]" class="form-control" placeholder="" value="<?php  if($settings['waimaittnew_lunbobgdownheight']) { ?><?php  echo $settings['waimaittnew_lunbobgdownheight'];?><?php  } else { ?>40<?php  } ?>" />
						  <span class="help-block" style="color:red;">*轮播背景下部高度，默认为40</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部轮播背景下部圆角尺寸</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_lunbobgdownradius]" class="form-control" placeholder="" value="<?php  if($settings['waimaittnew_lunbobgdownradius']) { ?><?php  echo $settings['waimaittnew_lunbobgdownradius'];?><?php  } else { ?>50%<?php  } ?>" />
						  <span class="help-block" style="color:red;">*轮播背景下部圆角尺寸，默认为50%</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">轮播宽度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_lunbo_width]" class="form-control" placeholder="" value="<?php  if($settings['waimaittnew_lunbo_width']) { ?><?php  echo $settings['waimaittnew_lunbo_width'];?><?php  } else { ?>750<?php  } ?>" />
						  <span class="help-block" style="color:red;">*轮播组件宽度，默认为750</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">轮播高度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_lunbo_height]" class="form-control" placeholder="" value="<?php  if($settings['waimaittnew_lunbo_height']) { ?><?php  echo $settings['waimaittnew_lunbo_height'];?><?php  } else { ?>255<?php  } ?>" />
						  <span class="help-block" style="color:red;">*轮播组件宽度，默认为255</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">轮播图片圆角尺寸</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_lunbo_borderRadius]" class="form-control" placeholder="" value="<?php  if($settings['waimaittnew_lunbo_borderRadius']) { ?><?php  echo $settings['waimaittnew_lunbo_borderRadius'];?><?php  } else { ?>10<?php  } ?>" />
						  <span class="help-block" style="color:red;">*轮播图片圆角尺寸，默认为10</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">轮播图片间距</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_lunbo_spacing]" class="form-control" placeholder="" value="<?php  if($settings['waimaittnew_lunbo_spacing']) { ?><?php  echo $settings['waimaittnew_lunbo_spacing'];?><?php  } else { ?>40<?php  } ?>" />
						  <span class="help-block" style="color:red;">*轮播图片间距，默认为40</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">轮播非激活项目的缩小间距</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_lunbo_padding]" class="form-control" placeholder="" value="<?php  if($settings['waimaittnew_lunbo_padding']) { ?><?php  echo $settings['waimaittnew_lunbo_padding'];?><?php  } else { ?>26<?php  } ?>" />
						  <span class="help-block" style="color:red;">*轮播非激活项目的缩小间距，默认为26</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否显示进度圆点</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_lunbo_indicatorType]" class="form-control" placeholder="" value="<?php  if($settings['waimaittnew_lunbo_indicatorType']) { ?><?php  echo $settings['waimaittnew_lunbo_indicatorType'];?><?php  } else { ?>dot<?php  } ?>" />
						  <span class="help-block" style="color:red;">*是否显示进度圆点：none为不显示，dot为显示，默认值为：dot</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航排数</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_daohang_num]" class="form-control" placeholder="" value="<?php  if($settings['waimaittnew_daohang_num']) { ?><?php  echo $settings['waimaittnew_daohang_num'];?><?php  } else { ?>2<?php  } ?>" />
						  <span class="help-block" style="color:red;">*导航排数，填1或者2，默认为2排</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航单排高度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_daohang_height]" class="form-control" placeholder="" value="<?php  if($settings['waimaittnew_daohang_height']) { ?><?php  echo $settings['waimaittnew_daohang_height'];?><?php  } else { ?>150<?php  } ?>" />
						  <span class="help-block" style="color:red;">*导航单排高度，默认为150</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航背景色</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaittnew_daohang_bgcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaittnew_daohang_bgcolor]',$settings['waimaittnew_daohang_bgcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaittnew_daohang_bgcolor]','#FFFFFF')?>
							<?php  } ?>
						  <span class="help-block" style="color:red;">*导航背景色，默认为白色#FFFFFF</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航图标圆角尺寸</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_daohang_border_radius]" class="form-control" placeholder="" value="<?php  if($settings['waimaittnew_daohang_border_radius']) { ?><?php  echo $settings['waimaittnew_daohang_border_radius'];?><?php  } else { ?>0<?php  } ?>" />
						  <span class="help-block" style="color:red;">*导航图标圆角尺寸，默认为50%</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">单个导航宽度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_daohang_width]" class="form-control" placeholder="" value="<?php  if($settings['waimaittnew_daohang_width']) { ?><?php  echo $settings['waimaittnew_daohang_width'];?><?php  } else { ?>150<?php  } ?>" />
						  <span class="help-block" style="color:red;">*单个导航宽度，默认为150，填150一排放5个图标，填187.5一排放4个图标，填250一排可以放3个图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">单个导航图片宽度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_daohang_iconwidth]" class="form-control" placeholder="" value="<?php  if($settings['waimaittnew_daohang_iconwidth']) { ?><?php  echo $settings['waimaittnew_daohang_iconwidth'];?><?php  } else { ?>80<?php  } ?>" />
						  <span class="help-block" style="color:red;">*单个导航图片宽度，默认为80</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">单个导航图片高度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_daohang_iconheight]" class="form-control" placeholder="" value="<?php  if($settings['waimaittnew_daohang_iconheight']) { ?><?php  echo $settings['waimaittnew_daohang_iconheight'];?><?php  } else { ?>80<?php  } ?>" />
						  <span class="help-block" style="color:red;">*单个导航图片高度，默认为80</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航图标阴影颜色</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaittnew_daohang_box_shadow_bgcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaittnew_daohang_box_shadow_bgcolor]',$settings['waimaittnew_daohang_box_shadow_bgcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaittnew_daohang_box_shadow_bgcolor]','#FFFFFF')?>
							<?php  } ?>
						  <span class="help-block" style="color:red;">*导航图标阴影颜色，默认为#FFFFFF白色</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航图标阴影大小</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_daohang_box_shadow]" class="form-control" placeholder="" value="<?php  if($settings['waimaittnew_daohang_box_shadow']) { ?><?php  echo $settings['waimaittnew_daohang_box_shadow'];?><?php  } else { ?>20<?php  } ?>" />
						  <span class="help-block" style="color:red;">*导航图标阴影大小，默认为20</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航文字大小</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_daohang_textsize]" class="form-control" placeholder="" value="<?php  if($settings['waimaittnew_daohang_textsize']) { ?><?php  echo $settings['waimaittnew_daohang_textsize'];?><?php  } else { ?>22<?php  } ?>" />
						  <span class="help-block" style="color:red;">*导航文字大小，默认为22</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航文字颜色</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaittnew_daohang_textcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaittnew_daohang_textcolor]',$settings['waimaittnew_daohang_textcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaittnew_daohang_textcolor]','#000000')?>
							<?php  } ?>
						  <span class="help-block" style="color:red;">*导航文字颜色，默认为白色#000000</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏样式：</label>
						<div class="col-sm-9 col-xs-12">
						    <label class="radio-inline"><input type="radio" name="data[waimaittnew_is_oldtools]" value="0" <?php  if($settings['waimaittnew_is_oldtools'] == 0) { ?>checked="true"<?php  } ?> /> 隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[waimaittnew_is_oldtools]" value="1" <?php  if($settings['waimaittnew_is_oldtools'] == 1) { ?>checked="true"<?php  } ?> /> 样式一（三栏）</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[waimaittnew_is_oldtools]" value="2" <?php  if($settings['waimaittnew_is_oldtools'] == 2) { ?>checked="true"<?php  } ?> /> 样式二（连一起）</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[waimaittnew_is_oldtools]" value="3" <?php  if($settings['waimaittnew_is_oldtools'] == 3) { ?>checked="true"<?php  } ?> /> 样式三（分开）</label>
						</div>
					</div>
					
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏样式一左边图片：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[waimaittnew_leftpic]', $settings['waimaittnew_leftpic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图片尺寸：353*252，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏样式一中间吃什么图片：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[waimaittnew_midpic]', $settings['waimaittnew_midpic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图片尺寸：353*252，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏样式一右边图片：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[waimaittnew_rightpic]', $settings['waimaittnew_rightpic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图片尺寸：353*252，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏二三背景色</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaittnew_tools_bgcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaittnew_tools_bgcolor]',$settings['waimaittnew_tools_bgcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaittnew_tools_bgcolor]','#FFFFFF')?>
							<?php  } ?>
						  <span class="help-block" style="color:red;">*工具栏二三背景色，默认为白色#FFFFFF</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏二三底部圆角尺寸</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_tools_radius]" class="form-control" placeholder="" value="<?php  if($settings['waimaittnew_tools_radius']) { ?><?php  echo $settings['waimaittnew_tools_radius'];?><?php  } else { ?>20<?php  } ?>" />
						  <span class="help-block" style="color:red;">*工具二三栏底部圆角尺寸，默认为20（单位为：rpx）</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏二三添加小程序图标：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[waimaittnew_tools_addpic]', $settings['waimaittnew_tools_addpic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图标尺寸：200*200，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏二三添加小程序文字：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_tools_addtext]" class="form-control" placeholder="" value="<?php  if($settings['waimaittnew_tools_addtext']) { ?><?php  echo $settings['waimaittnew_tools_addtext'];?><?php  } else { ?>添加小程序<?php  } ?>" />
						  <span class="help-block" style="color:red;">*工具栏二三添加小程序文字，默认为：添加小程序</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏二三分享给好友图标：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[waimaittnew_tools_sharepic]', $settings['waimaittnew_tools_sharepic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图标尺寸：200*200，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏二三分享给好友文字：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_tools_sharetext]" class="form-control" placeholder="" value="<?php  if($settings['waimaittnew_tools_sharetext']) { ?><?php  echo $settings['waimaittnew_tools_sharetext'];?><?php  } else { ?>分享给好友<?php  } ?>" />
						  <span class="help-block" style="color:red;">*工具栏二三分享给好友文字，默认为：分享给好友</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容标题文字大小：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_list_textsize]" class="form-control" placeholder="" value="<?php  if($settings['waimaittnew_list_textsize']) { ?><?php  echo $settings['waimaittnew_list_textsize'];?><?php  } else { ?>30<?php  } ?>" />
						  <span class="help-block" style="color:red;">*列表内容标题文字大小，默认为：30（单位为：rpx）</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容标题文字颜色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaittnew_list_textcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaittnew_list_textcolor]',$settings['waimaittnew_list_textcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaittnew_list_textcolor]','#000000')?>
							<?php  } ?>
						  <span class="help-block" style="color:red;">*列表内容标题文字颜色，默认为黑色：#000000</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容金额文字大小：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_list_jinesize]" class="form-control" placeholder="" value="<?php  if($settings['waimaittnew_list_jinesize']) { ?><?php  echo $settings['waimaittnew_list_jinesize'];?><?php  } else { ?>52<?php  } ?>" />
						  <span class="help-block" style="color:red;">*列表内容金额文字大小，默认为：52（单位为：rpx）</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容金额文字颜色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaittnew_list_jinecolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaittnew_list_jinecolor]',$settings['waimaittnew_list_jinecolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaittnew_list_jinecolor]','#ff304d')?>
							<?php  } ?>
						  <span class="help-block" style="color:red;">*列表内容金额文字颜色，默认为红色：#ff304d</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容金额单位文字大小：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_list_unitsize]" class="form-control" placeholder="" value="<?php  if($settings['waimaittnew_list_unitsize']) { ?><?php  echo $settings['waimaittnew_list_unitsize'];?><?php  } else { ?>28<?php  } ?>" />
						  <span class="help-block" style="color:red;">*列表内容金额单位文字大小，默认为：28（单位为：rpx）</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容金额单位文字颜色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaittnew_list_unitcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaittnew_list_unitcolor]',$settings['waimaittnew_list_unitcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaittnew_list_unitcolor]','#ff304d')?>
							<?php  } ?>
						  <span class="help-block" style="color:red;">*列表内容金额单位文字颜色，默认为红色：#ff304d</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容“今日仅剩”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimaittnew_list_jinsize]" class="form-control" placeholder="" value="<?php  if($settings['waimaittnew_list_jinsize']) { ?><?php  echo $settings['waimaittnew_list_jinsize'];?><?php  } else { ?>28<?php  } ?>" />
						  <span class="help-block" style="color:red;">*列表内容“今日仅剩”文字大小，默认为：28（单位为：rpx）</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容“今日仅剩”文字颜色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaittnew_list_jincolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaittnew_list_jincolor]',$settings['waimaittnew_list_jincolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaittnew_list_jincolor]','#aa1e3b')?>
							<?php  } ?>
						  <span class="help-block" style="color:red;">*列表内容“今日仅剩”文字颜色，默认为深红色：#aa1e3b</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容“今日仅剩”背景色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaittnew_list_jinbgcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaittnew_list_jinbgcolor]',$settings['waimaittnew_list_jinbgcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaittnew_list_jinbgcolor]','#ffebe3')?>
							<?php  } ?>
						  <span class="help-block" style="color:red;">*列表内容“今日仅剩”背景色，默认为浅红色：#ffebe3</span>
						</div>
					</div>
					
				</div>
			</div>

			<div role="tabpanel" class="tab-pane panel panel-default main" id="waimainew">
				<div class="panel-heading">外卖3版首页设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部导航栏背景色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_navigationBarBackgroundColor]" class="form-control" placeholder="" value="<?php  if($settings['waimainew_navigationBarBackgroundColor']) { ?><?php  echo $settings['waimainew_navigationBarBackgroundColor'];?><?php  } else { ?>#FFFFFF<?php  } ?>" />
						  <span class="help-block" style="color:red;">*顶部导航栏背景色，默认为#FFFFFF白色</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部导航栏标题颜色</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[waimainew_navigationBarTextStyle]" value="#000000" <?php  if($settings['waimainew_navigationBarTextStyle'] == '#000000') { ?>checked="true"<?php  } ?> /> 黑色</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[waimainew_navigationBarTextStyle]" value="#ffffff" <?php  if($settings['waimainew_navigationBarTextStyle'] == '#ffffff') { ?>checked="true"<?php  } else { ?><?php  if($settings['waimainew_navigationBarTextStyle'] == '') { ?>checked="true"<?php  } ?><?php  } ?> /> 白色</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部导航栏标题</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_navigationBarTitleText]" class="form-control" placeholder="" value="<?php  if($settings['waimainew_navigationBarTitleText']) { ?><?php  echo $settings['waimainew_navigationBarTitleText'];?><?php  } else { ?>首页<?php  } ?>" />
						  <span class="help-block" style="color:red;">*顶部导航栏标题，默认为：首页</span>
						</div>
					</div>
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">页面背景色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_bgcolor]" class="form-control" placeholder="" value="<?php  if($settings['waimainew_bgcolor']) { ?><?php  echo $settings['waimainew_bgcolor'];?><?php  } else { ?>#FFFFFF<?php  } ?>" />
						  <span class="help-block" style="color:red;">*页面背景色，默认为#FFFFFF白色</span>
						</div>
					</div>
					
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">轮播宽度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_lunbo_width]" class="form-control" placeholder="" value="<?php  if($settings['waimainew_lunbo_width']) { ?><?php  echo $settings['waimainew_lunbo_width'];?><?php  } else { ?>750<?php  } ?>" />
						  <span class="help-block" style="color:red;">*轮播组件宽度，默认为750</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">轮播高度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_lunbo_height]" class="form-control" placeholder="" value="<?php  if($settings['waimainew_lunbo_height']) { ?><?php  echo $settings['waimainew_lunbo_height'];?><?php  } else { ?>255<?php  } ?>" />
						  <span class="help-block" style="color:red;">*轮播组件宽度，默认为255</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">轮播图片圆角尺寸</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_lunbo_borderRadius]" class="form-control" placeholder="" value="<?php  if($settings['waimainew_lunbo_borderRadius']) { ?><?php  echo $settings['waimainew_lunbo_borderRadius'];?><?php  } else { ?>10<?php  } ?>" />
						  <span class="help-block" style="color:red;">*轮播图片圆角尺寸，默认为10</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">轮播图片间距</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_lunbo_spacing]" class="form-control" placeholder="" value="<?php  if($settings['waimainew_lunbo_spacing']) { ?><?php  echo $settings['waimainew_lunbo_spacing'];?><?php  } else { ?>40<?php  } ?>" />
						  <span class="help-block" style="color:red;">*轮播图片间距，默认为40</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">轮播非激活项目的缩小间距</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_lunbo_padding]" class="form-control" placeholder="" value="<?php  if($settings['waimainew_lunbo_padding']) { ?><?php  echo $settings['waimainew_lunbo_padding'];?><?php  } else { ?>26<?php  } ?>" />
						  <span class="help-block" style="color:red;">*轮播非激活项目的缩小间距，默认为26</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否显示进度圆点</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_lunbo_indicatorType]" class="form-control" placeholder="" value="<?php  if($settings['waimainew_lunbo_indicatorType']) { ?><?php  echo $settings['waimainew_lunbo_indicatorType'];?><?php  } else { ?>dot<?php  } ?>" />
						  <span class="help-block" style="color:red;">*是否显示进度圆点：none为不显示，dot为显示，默认值为：dot</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航背景色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_daohang_bgcolor]" class="form-control" placeholder="" value="<?php  if($settings['waimainew_daohang_bgcolor']) { ?><?php  echo $settings['waimainew_daohang_bgcolor'];?><?php  } else { ?>#FFFFFF<?php  } ?>" />
						  <span class="help-block" style="color:red;">*导航背景色，默认为白色#FFFFFF</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航图标圆角尺寸</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_daohang_border_radius]" class="form-control" placeholder="" value="<?php  if($settings['waimainew_daohang_border_radius']) { ?><?php  echo $settings['waimainew_daohang_border_radius'];?><?php  } else { ?>50%<?php  } ?>" />
						  <span class="help-block" style="color:red;">*导航图标圆角尺寸，默认为50%</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">单个导航宽度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_daohang_width]" class="form-control" placeholder="" value="<?php  if($settings['waimainew_daohang_width']) { ?><?php  echo $settings['waimainew_daohang_width'];?><?php  } else { ?>150<?php  } ?>" />
						  <span class="help-block" style="color:red;">*单个导航宽度，默认为150，填150一排放5个图标，填187.5一排放4个图标，填250一排可以放3个图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">单个导航图片宽度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_daohang_iconwidth]" class="form-control" placeholder="" value="<?php  if($settings['waimainew_daohang_iconwidth']) { ?><?php  echo $settings['waimainew_daohang_iconwidth'];?><?php  } else { ?>110<?php  } ?>" />
						  <span class="help-block" style="color:red;">*单个导航图片宽度，默认为110</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">单个导航图片高度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_daohang_iconheight]" class="form-control" placeholder="" value="<?php  if($settings['waimainew_daohang_iconheight']) { ?><?php  echo $settings['waimainew_daohang_iconheight'];?><?php  } else { ?>110<?php  } ?>" />
						  <span class="help-block" style="color:red;">*单个导航图片高度，默认为110</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航图标阴影颜色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_daohang_box_shadow_bgcolor]" class="form-control" placeholder="" value="<?php  if($settings['waimainew_daohang_box_shadow_bgcolor']) { ?><?php  echo $settings['waimainew_daohang_box_shadow_bgcolor'];?><?php  } else { ?>#FFFFFF<?php  } ?>" />
						  <span class="help-block" style="color:red;">*导航图标阴影颜色，默认为#FFFFFF白色</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航图标阴影大小</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_daohang_box_shadow]" class="form-control" placeholder="" value="<?php  if($settings['waimainew_daohang_box_shadow']) { ?><?php  echo $settings['waimainew_daohang_box_shadow'];?><?php  } else { ?>20<?php  } ?>" />
						  <span class="help-block" style="color:red;">*导航图标阴影大小，默认为20</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航文字大小</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_daohang_textsize]" class="form-control" placeholder="" value="<?php  if($settings['waimainew_daohang_textsize']) { ?><?php  echo $settings['waimainew_daohang_textsize'];?><?php  } else { ?>26<?php  } ?>" />
						  <span class="help-block" style="color:red;">*导航文字大小，默认为26</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航文字颜色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_daohang_textcolor]" class="form-control" placeholder="" value="<?php  if($settings['waimainew_daohang_textcolor']) { ?><?php  echo $settings['waimainew_daohang_textcolor'];?><?php  } else { ?>#000000<?php  } ?>" />
						  <span class="help-block" style="color:red;">*导航文字颜色，默认为白色#000000</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否显示工具栏：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[waimainew_is_oldtools]" value="1" <?php  if($settings['waimainew_is_oldtools'] == 1) { ?>checked="true"<?php  } ?> /> 显示</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[waimainew_is_oldtools]" value="0" <?php  if($settings['waimainew_is_oldtools'] == 0) { ?>checked="true"<?php  } ?> /> 隐藏</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏背景色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_tools_bgcolor]" class="form-control" placeholder="" value="<?php  if($settings['waimainew_tools_bgcolor']) { ?><?php  echo $settings['waimainew_tools_bgcolor'];?><?php  } else { ?>#FFFFFF<?php  } ?>" />
						  <span class="help-block" style="color:red;">*工具栏背景色，默认为白色#FFFFFF</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏高度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_tools_height]" class="form-control" placeholder="" value="<?php  if($settings['waimainew_tools_height']) { ?><?php  echo $settings['waimainew_tools_height'];?><?php  } else { ?>110<?php  } ?>" />
						  <span class="help-block" style="color:red;">*工具栏高度，默认为110</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏圆角尺寸</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_tools_radius]" class="form-control" placeholder="" value="<?php  if($settings['waimainew_tools_radius']) { ?><?php  echo $settings['waimainew_tools_radius'];?><?php  } else { ?>20<?php  } ?>" />
						  <span class="help-block" style="color:red;">*工具栏底部圆角尺寸，默认为20（单位为：rpx）</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏添加小程序图标：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[waimainew_tools_addpic]', $settings['waimainew_tools_addpic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图标尺寸：200*200，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏添加小程序文字：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_tools_addtext]" class="form-control" placeholder="" value="<?php  if($settings['waimainew_tools_addtext']) { ?><?php  echo $settings['waimainew_tools_addtext'];?><?php  } else { ?>添加小程序<?php  } ?>" />
						  <span class="help-block" style="color:red;">*工具栏添加小程序文字，默认为：添加小程序</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏分享给好友图标：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[waimainew_tools_sharepic]', $settings['waimainew_tools_sharepic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图标尺寸：200*200，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">工具栏分享给好友文字：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_tools_sharetext]" class="form-control" placeholder="" value="<?php  if($settings['waimainew_tools_sharetext']) { ?><?php  echo $settings['waimainew_tools_sharetext'];?><?php  } else { ?>分享给好友<?php  } ?>" />
						  <span class="help-block" style="color:red;">*工具栏分享给好友文字，默认为：分享给好友</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否显示新版工具栏：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[waimainew_is_tools]" value="1" <?php  if($settings['waimainew_is_tools'] == 1) { ?>checked="true"<?php  } ?> /> 显示</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[waimainew_is_tools]" value="0" <?php  if($settings['waimainew_is_tools'] == 0) { ?>checked="true"<?php  } ?> /> 隐藏</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">新版工具栏左边图片：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[waimainew_leftpic]', $settings['waimainew_leftpic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图片尺寸：353*252，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">新版工具栏中间图片：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[waimainew_midpic]', $settings['waimainew_midpic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图片尺寸：353*252，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">新版工具栏右边图片：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[waimainew_rightpic]', $settings['waimainew_rightpic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图片尺寸：353*252，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容标题文字大小：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_list_textsize]" class="form-control" placeholder="" value="<?php  if($settings['waimainew_list_textsize']) { ?><?php  echo $settings['waimainew_list_textsize'];?><?php  } else { ?>30<?php  } ?>" />
						  <span class="help-block" style="color:red;">*列表内容标题文字大小，默认为：30（单位为：rpx）</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容标题文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_list_textcolor]" class="form-control" placeholder="" value="<?php  if($settings['waimainew_list_textcolor']) { ?><?php  echo $settings['waimainew_list_textcolor'];?><?php  } else { ?>#000000<?php  } ?>" />
						  <span class="help-block" style="color:red;">*列表内容标题文字颜色，默认为黑色：#000000</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容金额文字大小：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_list_jinesize]" class="form-control" placeholder="" value="<?php  if($settings['waimainew_list_jinesize']) { ?><?php  echo $settings['waimainew_list_jinesize'];?><?php  } else { ?>52<?php  } ?>" />
						  <span class="help-block" style="color:red;">*列表内容金额文字大小，默认为：52（单位为：rpx）</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容金额文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_list_jinecolor]" class="form-control" placeholder="" value="<?php  if($settings['waimainew_list_jinecolor']) { ?><?php  echo $settings['waimainew_list_jinecolor'];?><?php  } else { ?>#ff304d<?php  } ?>" />
						  <span class="help-block" style="color:red;">*列表内容金额文字颜色，默认为红色：#ff304d</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容金额单位文字大小：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_list_unitsize]" class="form-control" placeholder="" value="<?php  if($settings['waimainew_list_unitsize']) { ?><?php  echo $settings['waimainew_list_unitsize'];?><?php  } else { ?>28<?php  } ?>" />
						  <span class="help-block" style="color:red;">*列表内容金额单位文字大小，默认为：28（单位为：rpx）</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容金额单位文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_list_unitcolor]" class="form-control" placeholder="" value="<?php  if($settings['waimainew_list_unitcolor']) { ?><?php  echo $settings['waimainew_list_unitcolor'];?><?php  } else { ?>#ff304d<?php  } ?>" />
						  <span class="help-block" style="color:red;">*列表内容金额单位文字颜色，默认为红色：#ff304d</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容“今日仅剩”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_list_jinsize]" class="form-control" placeholder="" value="<?php  if($settings['waimainew_list_jinsize']) { ?><?php  echo $settings['waimainew_list_jinsize'];?><?php  } else { ?>28<?php  } ?>" />
						  <span class="help-block" style="color:red;">*列表内容“今日仅剩”文字大小，默认为：28（单位为：rpx）</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容“今日仅剩”文字颜色：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_list_jincolor]" class="form-control" placeholder="" value="<?php  if($settings['waimainew_list_jincolor']) { ?><?php  echo $settings['waimainew_list_jincolor'];?><?php  } else { ?>#aa1e3b<?php  } ?>" />
						  <span class="help-block" style="color:red;">*列表内容“今日仅剩”文字颜色，默认为深红色：#aa1e3b</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">列表内容“今日仅剩”背景色：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[waimainew_list_jinbgcolor]" class="form-control" placeholder="" value="<?php  if($settings['waimainew_list_jinbgcolor']) { ?><?php  echo $settings['waimainew_list_jinbgcolor'];?><?php  } else { ?>#ffebe3<?php  } ?>" />
						  <span class="help-block" style="color:red;">*列表内容“今日仅剩”背景色，默认为浅红色：#ffebe3</span>
						</div>
					</div>
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="user">
				<div class="panel-heading">功能开关</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">用户中心是否强制登录</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[user_logonin]" value="0" <?php  if($settings['user_logonin'] == '0') { ?>checked="true"<?php  } ?><?php  if(!$settings['user_logonin']) { ?>checked="true"<?php  } ?> /> 强制登录</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[user_logonin]" value="1" <?php  if($settings['user_logonin'] == '1') { ?>checked="true"<?php  } ?> /> 不强制登录</label>
						</div>
					</div>
				    <div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否隐藏个人设置</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[user_setting]" value="1" <?php  if($settings['user_setting'] == '1') { ?>checked="true"<?php  } ?> /> 隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[user_setting]" value="0" <?php  if($settings['user_setting'] == '0') { ?>checked="true"<?php  } ?><?php  if(!$settings['user_setting']) { ?>checked="true"<?php  } ?> /> 不隐藏</label>
						</div>
					</div>

				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否隐藏个人中心收益数据：</label>
						<div class="col-sm-9 col-xs-12">
						    <label class="radio-inline"><input type="radio" name="data[income_type]" value="1" <?php  if($settings['income_type'] == 1) { ?>checked="true"<?php  } ?> /> 隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[income_type]" value="0" <?php  if($settings['income_type'] == 0 || !$settings['income_type']) { ?>checked="true"<?php  } ?> /> 不隐藏</label>
							
							<span class="help-block" style="color:red;"></span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否隐藏我的收益</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[user_wdsy_show]" value="1" <?php  if($settings['user_wdsy_show'] == '1') { ?>checked="true"<?php  } ?> /> 隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[user_wdsy_show]" value="0" <?php  if($settings['user_wdsy_show'] == '0' || !$settings['user_wdsy_show']) { ?>checked="true"<?php  } ?> /> 不隐藏</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否隐藏我的订单</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[user_wddd_show]" value="1" <?php  if($settings['user_wddd_show'] == '1') { ?>checked="true"<?php  } ?> /> 隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[user_wddd_show]" value="0" <?php  if($settings['user_wddd_show'] == '0' || !$settings['user_wddd_show']) { ?>checked="true"<?php  } ?> /> 不隐藏</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否隐藏我的粉丝</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[user_wdfs_show]" value="1" <?php  if($settings['user_wdfs_show'] == '1') { ?>checked="true"<?php  } ?> /> 隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[user_wdfs_show]" value="0" <?php  if($settings['user_wdfs_show'] == '0' || !$settings['user_wdfs_show']) { ?>checked="true"<?php  } ?> /> 不隐藏</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否隐藏分享中心</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[user_fxzx_show]" value="1" <?php  if($settings['user_fxzx_show'] == '1') { ?>checked="true"<?php  } ?> /> 隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[user_fxzx_show]" value="0" <?php  if($settings['user_fxzx_show'] == '0' || !$settings['user_fxzx_show']) { ?>checked="true"<?php  } ?> /> 不隐藏</label>
						</div>
					</div>
					

					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否隐藏个人中心预估收益数据：</label>
						<div class="col-sm-9 col-xs-12">
						    <label class="radio-inline"><input type="radio" name="data[user_income_type]" value="1" <?php  if($settings['user_income_type'] == 1) { ?>checked="true"<?php  } ?> /> 隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[user_income_type]" value="0" <?php  if($settings['user_income_type'] == 0) { ?>checked="true"<?php  } ?><?php  if(!$settings['user_income_type']) { ?>checked="true"<?php  } ?> /> 不隐藏</label>
							
							<span class="help-block" style="color:red;"></span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否隐藏订单中心</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[user_order_center]" value="0" <?php  if($settings['user_order_center'] == '0') { ?>checked="true"<?php  } ?> /> 隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[user_order_center]" value="1" <?php  if($settings['user_order_center'] == '1') { ?>checked="true"<?php  } ?><?php  if(!$settings['user_order_center']) { ?>checked="true"<?php  } ?> /> 不隐藏</label>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否隐藏电影票订单</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[user_movie_order]" value="0" <?php  if($settings['user_movie_order'] == '0') { ?>checked="true"<?php  } ?><?php  if(!$settings['user_movie_order']) { ?>checked="true"<?php  } ?> /> 隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[user_movie_order]" value="1" <?php  if($settings['user_movie_order'] == '1') { ?>checked="true"<?php  } ?> /> 不隐藏</label>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否隐藏积分商品订单</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[user_credit_order]" value="0" <?php  if($settings['user_credit_order'] == '0') { ?>checked="true"<?php  } ?><?php  if(!$settings['user_credit_order']) { ?>checked="true"<?php  } ?> /> 隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[user_credit_order]" value="1" <?php  if($settings['user_credit_order'] == '1') { ?>checked="true"<?php  } ?> /> 不隐藏</label>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否隐藏我的订单</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[user_my_order]" value="0" <?php  if($settings['user_my_order'] == '0') { ?>checked="true"<?php  } ?><?php  if(!$settings['user_my_order']) { ?>checked="true"<?php  } ?> /> 隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[user_my_order]" value="1" <?php  if($settings['user_my_order'] == '1') { ?>checked="true"<?php  } ?> /> 不隐藏</label>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否隐藏粉丝订单</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[user_fans_order]" value="0" <?php  if($settings['user_fans_order'] == '0') { ?>checked="true"<?php  } ?> /> 隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[user_fans_order]" value="1" <?php  if($settings['user_fans_order'] == '1') { ?>checked="true"<?php  } ?> /> 不隐藏</label>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否隐藏订单找回</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[user_find_order]" value="0" <?php  if($settings['user_find_order'] == '0') { ?>checked="true"<?php  } ?> /> 隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[user_find_order]" value="1" <?php  if($settings['user_find_order'] == '1') { ?>checked="true"<?php  } ?> /> 不隐藏</label>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否隐藏粉丝中心</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[user_fans_center]" value="0" <?php  if($settings['user_fans_center'] == '0') { ?>checked="true"<?php  } ?> /> 隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[user_fans_center]" value="1" <?php  if($settings['user_fans_center'] == '1') { ?>checked="true"<?php  } ?> /> 不隐藏</label>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否隐藏直邀粉丝</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[user_fans_zhiyao]" value="0" <?php  if($settings['user_fans_zhiyao'] == '0') { ?>checked="true"<?php  } ?> /> 隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[user_fans_zhiyao]" value="1" <?php  if($settings['user_fans_zhiyao'] == '1') { ?>checked="true"<?php  } ?> /> 不隐藏</label>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否隐藏其他粉丝</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[user_fans_other]" value="0" <?php  if($settings['user_fans_other'] == '0') { ?>checked="true"<?php  } ?> /> 隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[user_fans_other]" value="1" <?php  if($settings['user_fans_other'] == '1') { ?>checked="true"<?php  } ?> /> 不隐藏</label>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否隐藏邀请海报</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[user_fans_poster]" value="0" <?php  if($settings['user_fans_poster'] == '0') { ?>checked="true"<?php  } ?> /> 隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[user_fans_poster]" value="1" <?php  if($settings['user_fans_poster'] == '1') { ?>checked="true"<?php  } ?> /> 不隐藏</label>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否隐藏排行榜</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[user_fans_ranking]" value="0" <?php  if($settings['user_fans_ranking'] == '0') { ?>checked="true"<?php  } ?> /> 隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[user_fans_ranking]" value="1" <?php  if($settings['user_fans_ranking'] == '1') { ?>checked="true"<?php  } ?> /> 不隐藏</label>
						</div>
					</div>




				</div>
				<div class="panel-heading">个人中心页面样式自定义</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部背景图片：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[user_bgpic]', $settings['user_bgpic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图片尺寸：750*464，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">个人中心“可提现金额(元)”文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[cash_can_name]" class="form-control" placeholder="" value="<?php  if($settings['cash_can_name']) { ?><?php  echo $settings['cash_can_name'];?><?php  } else { ?>可提现<?php  } ?>" />
						  <span class="help-block" style="color:red;">*个人中心“可提现金额(元)”文字自定义，默认为：可提现金额(元)</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">个人中心“立即提现”文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[cash_name]" class="form-control" placeholder="" value="<?php  if($settings['cash_name']) { ?><?php  echo $settings['cash_name'];?><?php  } else { ?>立即提现<?php  } ?>" />
						  <span class="help-block" style="color:red;">*个人中心“立即提现”文字自定义，默认为：立即提现</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">个人中心提现文字说明</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[cash_desc]" class="form-control" placeholder="" value="<?php  echo $settings['cash_desc'];?>" />
						  <span class="help-block" style="color:red;">*个人中心提现文字说明</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">个人中心今日预估文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[user_index_jr]" class="form-control" placeholder="" value="<?php  if($settings['user_index_jr']) { ?><?php  echo $settings['user_index_jr'];?><?php  } else { ?>今日预估<?php  } ?>" />
						  <span class="help-block" style="color:red;">*个人中心今日预估文字自定义</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">个人中心昨日预估文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[user_index_zr]" class="form-control" placeholder="" value="<?php  if($settings['user_index_zr']) { ?><?php  echo $settings['user_index_zr'];?><?php  } else { ?>昨日预估<?php  } ?>" />
						  <span class="help-block" style="color:red;">*个人中心昨日预估文字自定义</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">个人中心本月预估文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[user_index_by]" class="form-control" placeholder="" value="<?php  if($settings['user_index_by']) { ?><?php  echo $settings['user_index_by'];?><?php  } else { ?>本月预估<?php  } ?>" />
						  <span class="help-block" style="color:red;">*个人中心本月预估文字自定义</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">个人中心上月预估文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[user_index_sy]" class="form-control" placeholder="" value="<?php  if($settings['user_index_sy']) { ?><?php  echo $settings['user_index_sy'];?><?php  } else { ?>上月预估<?php  } ?>" />
						  <span class="help-block" style="color:red;">*个人中心上月预估文字自定义</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">常用工具文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[user_tools_text]" class="form-control" placeholder="" value="<?php  if($settings['user_tools_text']) { ?><?php  echo $settings['user_tools_text'];?><?php  } else { ?>常用工具<?php  } ?>" />
						  <span class="help-block" style="color:red;">*常用工具文字自定义</span>
						</div>
					</div>

					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">我的收益文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[user_wdsy_name]" class="form-control" placeholder="" value="<?php  if($settings['user_wdsy_name']) { ?><?php  echo $settings['user_wdsy_name'];?><?php  } else { ?>我的收益<?php  } ?>" />
						  <span class="help-block" style="color:red;">*我的收益文字自定义</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">我的收益图标：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[user_wdsy_pic]', $settings['user_wdsy_pic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图片尺寸：正方形，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">我的订单文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[user_wddd_name]" class="form-control" placeholder="" value="<?php  if($settings['user_wddd_name']) { ?><?php  echo $settings['user_wddd_name'];?><?php  } else { ?>我的订单<?php  } ?>" />
						  <span class="help-block" style="color:red;">*我的订单文字自定义</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">我的订单图标：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[user_wddd_pic]', $settings['user_wddd_pic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图片尺寸：正方形，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">我的粉丝文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[user_wdfs_name]" class="form-control" placeholder="" value="<?php  if($settings['user_wdfs_name']) { ?><?php  echo $settings['user_wdfs_name'];?><?php  } else { ?>我的粉丝<?php  } ?>" />
						  <span class="help-block" style="color:red;">*我的粉丝文字自定义</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">我的粉丝图标：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[user_wdfs_pic]', $settings['user_wdfs_pic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图片尺寸：正方形，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">分享中心文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[user_fxzx_name]" class="form-control" placeholder="" value="<?php  if($settings['user_fxzx_name']) { ?><?php  echo $settings['user_fxzx_name'];?><?php  } else { ?>分享中心<?php  } ?>" />
						  <span class="help-block" style="color:red;">*分享中心文字自定义</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">分享中心图标：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[user_fxzx_pic]', $settings['user_fxzx_pic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图片尺寸：正方形，不上传则使用默认图片</span>
						</div>
					</div>








					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">订单中心文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[user_order_text]" class="form-control" placeholder="" value="<?php  if($settings['user_order_text']) { ?><?php  echo $settings['user_order_text'];?><?php  } else { ?>订单中心<?php  } ?>" />
						  <span class="help-block" style="color:red;">*订单中心文字自定义</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">电影票订单文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[user_movie_order_text]" class="form-control" placeholder="" value="<?php  if($settings['user_movie_order_text']) { ?><?php  echo $settings['user_movie_order_text'];?><?php  } else { ?>电影票订单<?php  } ?>" />
						  <span class="help-block" style="color:red;">*电影票订单文字自定义</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">电影票订单图标：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[user_movie_order_pic]', $settings['user_movie_order_pic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图片尺寸：正方形，不上传则使用默认图片</span>
						</div>
					</div>
					
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">我的订单文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[user_my_order_text]" class="form-control" placeholder="" value="<?php  if($settings['user_my_order_text']) { ?><?php  echo $settings['user_my_order_text'];?><?php  } else { ?>我的订单<?php  } ?>" />
						  <span class="help-block" style="color:red;">*我的订单文字自定义</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">我的订单图标：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[user_my_order_pic]', $settings['user_my_order_pic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图片尺寸：正方形，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">粉丝中心文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[user_fans_text]" class="form-control" placeholder="" value="<?php  if($settings['user_fans_text']) { ?><?php  echo $settings['user_fans_text'];?><?php  } else { ?>粉丝中心<?php  } ?>" />
						  <span class="help-block" style="color:red;">*粉丝中心文字自定义</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">粉丝订单文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[user_fans_order_text]" class="form-control" placeholder="" value="<?php  if($settings['user_fans_order_text']) { ?><?php  echo $settings['user_fans_order_text'];?><?php  } else { ?>粉丝订单<?php  } ?>" />
						  <span class="help-block" style="color:red;">*粉丝订单文字自定义</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">粉丝订单图标：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[user_fans_order_pic]', $settings['user_fans_order_pic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图片尺寸：正方形，不上传则使用默认图片</span>
						</div>
					</div>



					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商品订单文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[user_credit_order_text]" class="form-control" placeholder="" value="<?php  if($settings['user_credit_order_text']) { ?><?php  echo $settings['user_credit_order_text'];?><?php  } else { ?>商品订单<?php  } ?>" />
						  <span class="help-block" style="color:red;">*商品订单文字自定义</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商品订单图标：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[user_credit_order_pic]', $settings['user_credit_order_pic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图片尺寸：正方形，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">排行榜文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[user_fans_ranking_text]" class="form-control" placeholder="" value="<?php  if($settings['user_fans_ranking_text']) { ?><?php  echo $settings['user_fans_ranking_text'];?><?php  } else { ?>排行榜<?php  } ?>" />
						  <span class="help-block" style="color:red;">*排行榜文字自定义</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">排行榜图标：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[user_fans_ranking_pic]', $settings['user_fans_ranking_pic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图片尺寸：正方形，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">订单找回文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[user_find_order_text]" class="form-control" placeholder="" value="<?php  if($settings['user_find_order_text']) { ?><?php  echo $settings['user_find_order_text'];?><?php  } else { ?>订单找回<?php  } ?>" />
						  <span class="help-block" style="color:red;">*订单找回文字自定义</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">订单找回图标：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[user_find_order_pic]', $settings['user_find_order_pic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图片尺寸：正方形，不上传则使用默认图片</span>
						</div>
					</div>






					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">直邀粉丝文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[user_fans_zhiyao_text]" class="form-control" placeholder="" value="<?php  if($settings['user_fans_zhiyao_text']) { ?><?php  echo $settings['user_fans_zhiyao_text'];?><?php  } else { ?>直邀粉丝<?php  } ?>" />
						  <span class="help-block" style="color:red;">*直邀粉丝文字自定义</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">直邀粉丝图标：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[user_fans_zhiyao_pic]', $settings['user_fans_zhiyao_pic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图片尺寸：正方形，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">其他粉丝文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[user_fans_other_text]" class="form-control" placeholder="" value="<?php  if($settings['user_fans_other_text']) { ?><?php  echo $settings['user_fans_other_text'];?><?php  } else { ?>其他粉丝<?php  } ?>" />
						  <span class="help-block" style="color:red;">*其他粉丝文字自定义</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">其他粉丝图标：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[user_fans_other_pic]', $settings['user_fans_other_pic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图片尺寸：正方形，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">邀请海报文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[user_fans_poster_text]" class="form-control" placeholder="" value="<?php  if($settings['user_fans_poster_text']) { ?><?php  echo $settings['user_fans_poster_text'];?><?php  } else { ?>邀请海报<?php  } ?>" />
						  <span class="help-block" style="color:red;">*邀请海报文字自定义</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">邀请海报图标：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[user_fans_poster_pic]', $settings['user_fans_poster_pic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图片尺寸：正方形，不上传则使用默认图片</span>
						</div>
					</div>
					
					
				</div>
				<div class="panel-heading">其他页面样式自定义</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">收益分类</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[wdsy_type]" class="form-control" placeholder="" value="<?php  if($settings['wdsy_type']) { ?><?php  echo $settings['wdsy_type'];?><?php  } else { ?>美团外卖,美团闪购,美团酒店,美团优选,美团团购,饿了么,电影票,肯德基,麦当劳,话费,京东,拼多多,唯品会,淘宝,百果园,奈雪的茶,瑞幸咖啡,星巴克<?php  } ?>" />
						  <span class="help-block" style="color:red;">*我的收益页面收益分类，每个分类之间使用英文逗号,分隔，顺序可调整，默认为：美团外卖,美团闪购,美团酒店,美团优选,美团团购,饿了么,电影票,肯德基,麦当劳,话费,京东,拼多多,唯品会,淘宝,百果园,奈雪的茶,瑞幸咖啡,星巴克</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">财务明细分类</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[finance_type]" class="form-control" placeholder="" value="<?php  if($settings['finance_type']) { ?><?php  echo $settings['finance_type'];?><?php  } else { ?>现金明细,积分明细,提现成功,申请提现,提现退回,订单结算现金,任务奖励现金,现金兑换积分,订单结算积分,任务奖励积分,兑换积分入账,积分兑换商品,签到积分<?php  } ?>" />
						  <span class="help-block" style="color:red;">*财务明细页面分类，每个分类之间使用英文逗号,分隔，顺序可调整，默认为：现金明细,积分明细,提现成功,申请提现,提现退回,订单结算现金,任务奖励现金,现金兑换积分,订单结算积分,任务奖励积分,兑换积分入账,积分兑换商品,签到积分</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">我的收益页面“财务明细”文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[finance_name]" class="form-control" placeholder="" value="<?php  if($settings['finance_name']) { ?><?php  echo $settings['finance_name'];?><?php  } else { ?>财务明细<?php  } ?>" />
						  <span class="help-block" style="color:red;">*我的收益页面“财务明细”文字自定义，默认为：财务明细</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否隐藏订单页头部导航</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[user2_order_td2]" value="0" <?php  if($settings['user2_order_td2'] == '0' || !$settings['user2_order_td2']) { ?>checked="true"<?php  } ?> /> 不隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[user2_order_td2]" value="1" <?php  if($settings['user2_order_td2'] == '1') { ?>checked="true"<?php  } ?> /> 隐藏</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">收益/订单可选多少天内的日期</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[wdsy_calendar_day]" class="form-control" placeholder="" value="<?php  if($settings['wdsy_calendar_day']) { ?><?php  echo $settings['wdsy_calendar_day'];?><?php  } else { ?>90<?php  } ?>" />
						  <span class="help-block" style="color:red;">*填写数字，默认可筛选90天内日期的数据</span>
						</div>
					</div>
					
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否隐藏团队订单</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[user2_order_td]" value="0" <?php  if($settings['user2_order_td'] == '0' || !$settings['user2_order_td']) { ?>checked="true"<?php  } ?> /> 不隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[user2_order_td]" value="1" <?php  if($settings['user2_order_td'] == '1') { ?>checked="true"<?php  } ?> /> 隐藏</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否隐藏订单列表收益数据</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[user2_order_sy]" value="0" <?php  if($settings['user2_order_sy'] == '0' || !$settings['user2_order_sy']) { ?>checked="true"<?php  } ?> /> 不隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[user2_order_sy]" value="1" <?php  if($settings['user2_order_sy'] == '1') { ?>checked="true"<?php  } ?> /> 隐藏</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">订单页面预估佣金文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[user_order_ygyj]" class="form-control" placeholder="" value="<?php  if($settings['user_order_ygyj']) { ?><?php  echo $settings['user_order_ygyj'];?><?php  } else { ?>预估佣金<?php  } ?>" />
						  <span class="help-block" style="color:red;">*订单页面预估佣金文字自定义</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">账户中心账户余额文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[cash_zhzx_zhye]" class="form-control" placeholder="" value="<?php  if($settings['cash_zhzx_zhye']) { ?><?php  echo $settings['cash_zhzx_zhye'];?><?php  } else { ?>当前余额 (￥)<?php  } ?>" />
						  <span class="help-block" style="color:red;">*账户中心当前余额 (￥)自定义</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">账户中心提现文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[cash_zhzx_tixian]" class="form-control" placeholder="" value="<?php  if($settings['cash_zhzx_tixian']) { ?><?php  echo $settings['cash_zhzx_tixian'];?><?php  } else { ?>提现<?php  } ?>" />
						  <span class="help-block" style="color:red;">*账户中心提现文字自定义</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">提现管理页面标题</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[cash_tixian_title]" class="form-control" placeholder="" value="<?php  if($settings['cash_tixian_title']) { ?><?php  echo $settings['cash_tixian_title'];?><?php  } else { ?>提现管理<?php  } ?>" />
						  <span class="help-block" style="color:red;">*提现管理页面标题自定义</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">提现管理页面提现金额文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[cash_tixian_jine]" class="form-control" placeholder="" value="<?php  if($settings['cash_tixian_jine']) { ?><?php  echo $settings['cash_tixian_jine'];?><?php  } else { ?>提现金额<?php  } ?>" />
						  <span class="help-block" style="color:red;">*提现管理页面提现金额文字自定义</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">提现管理页面请填写要提现的金额文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[cash_tixian_qtxjine]" class="form-control" placeholder="" value="<?php  if($settings['cash_tixian_qtxjine']) { ?><?php  echo $settings['cash_tixian_qtxjine'];?><?php  } else { ?>请填写要提现的金额<?php  } ?>" />
						  <span class="help-block" style="color:red;">*提现管理页面请填写要提现的金额文字自定义</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">提现管理页面支付宝账号文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[cash_tixian_zfb]" class="form-control" placeholder="" value="<?php  if($settings['cash_tixian_zfb']) { ?><?php  echo $settings['cash_tixian_zfb'];?><?php  } else { ?>支付宝账号<?php  } ?>" />
						  <span class="help-block" style="color:red;">*提现管理页面支付宝账号文字自定义</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">提现管理页面立即提现文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[cash_tixian_ljtx]" class="form-control" placeholder="" value="<?php  if($settings['cash_tixian_ljtx']) { ?><?php  echo $settings['cash_tixian_ljtx'];?><?php  } else { ?>立即提现<?php  } ?>" />
						  <span class="help-block" style="color:red;">*提现管理页面立即提现文字自定义</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">提现管理页面提现明细文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[cash_tixian_txmx]" class="form-control" placeholder="" value="<?php  if($settings['cash_tixian_txmx']) { ?><?php  echo $settings['cash_tixian_txmx'];?><?php  } else { ?>提现明细<?php  } ?>" />
						  <span class="help-block" style="color:red;">*提现管理页面提现明细文字自定义</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">提现管理页面请填写金额文字自定义</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[cash_tixian_qtxtxje]" class="form-control" placeholder="" value="<?php  if($settings['cash_tixian_qtxtxje']) { ?><?php  echo $settings['cash_tixian_qtxtxje'];?><?php  } else { ?>请填写金额<?php  } ?>" />
						  <span class="help-block" style="color:red;">*提现管理页面请填写金额文字自定义</span>
						</div>
					</div>
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="eatwhat">
				<div class="panel-heading">今天吃什么设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部导航栏背景色</label>
						<div class="col-sm-4">
						    <?php  if($settings['eatwhat_navigationBarBackgroundColor']) { ?>
								<?php  echo tpl_form_field_color('data[eatwhat_navigationBarBackgroundColor]',$settings['eatwhat_navigationBarBackgroundColor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[eatwhat_navigationBarBackgroundColor]','#f5f5f5')?>
							<?php  } ?>
						  <span class="help-block" style="color:red;">*顶部导航栏背景色，默认为#f5f5f5白色</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部导航栏标题颜色</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[eatwhat_navigationBarTextStyle]" value="#000000" <?php  if($settings['eatwhat_navigationBarTextStyle'] == '#000000') { ?>checked="true"<?php  } ?> /> 黑色</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[eatwhat_navigationBarTextStyle]" value="#ffffff" <?php  if($settings['eatwhat_navigationBarTextStyle'] == '#ffffff') { ?>checked="true"<?php  } else { ?><?php  if($settings['eatwhat_navigationBarTextStyle'] == '') { ?>checked="true"<?php  } ?><?php  } ?> /> 白色</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部导航栏标题</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[eatwhat_navigationBarTitleText]" class="form-control" placeholder="" value="<?php  if($settings['eatwhat_navigationBarTitleText']) { ?><?php  echo $settings['eatwhat_navigationBarTitleText'];?><?php  } else { ?>今天吃什么<?php  } ?>" />
						  <span class="help-block" style="color:red;">*顶部导航栏标题，默认为：今天吃什么</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">背景图片：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[eatwhat_bgpic]', $settings['eatwhat_bgpic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*背景图片：750*1334，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">默认菜单：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[eatwhat_foodlist]" class="form-control" placeholder="" value="<?php  if($settings['eatwhat_foodlist']) { ?><?php  echo $settings['eatwhat_foodlist'];?><?php  } else { ?>火锅,粤菜,沙县小吃,蒸菜,酸辣粉,涮羊肉,油泼面,干拌面,湘菜,东北菜<?php  } ?>" />
						  <span class="help-block" style="color:red;">*默认菜单，菜单之间使用英文逗号,分隔</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">我今天吃什么？：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[eatwhat_my]" class="form-control" placeholder="" value="<?php  if($settings['eatwhat_my']) { ?><?php  echo $settings['eatwhat_my'];?><?php  } else { ?>我今天吃什么？<?php  } ?>" />
						  <span class="help-block" style="color:red;">*我今天吃什么？修改为自定义文字</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">准备开吃：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[eatwhat_go]" class="form-control" placeholder="" value="<?php  if($settings['eatwhat_go']) { ?><?php  echo $settings['eatwhat_go'];?><?php  } else { ?>准备开吃<?php  } ?>" />
						  <span class="help-block" style="color:red;">*准备开吃修改为自定义文字</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">分享标题</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[eatwhat_sharetitle]" class="form-control" placeholder="" value="<?php  echo $settings['eatwhat_sharetitle'];?>" /> 
						</div>
					</div>
					
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">分享图片：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[eatwhat_sharethumb]', $settings['eatwhat_sharethumb'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图片尺寸：420*335</span>
						</div>
					</div>
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="waimaitt-meituan">
				
				<div class="panel-heading">页面设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-是否隐藏二维码：</label>
						<div class="col-sm-9 col-xs-12">
							<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[waimaitt_meituanwm_qecode]" value="0" <?php  if($settings['waimaitt_meituanwm_qecode'] == '0') { ?>checked="true"<?php  } ?><?php  if(!$settings['waimaitt_meituanwm_qecode']) { ?>checked="true"<?php  } ?> /> 不隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[waimaitt_meituanwm_qecode]" value="1" <?php  if($settings['waimaitt_meituanwm_qecode'] == '1') { ?>checked="true"<?php  } ?> /> 隐藏</label>
						</div>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-是否隐藏虚拟领取红包广播：</label>
						<div class="col-sm-9 col-xs-12">
							<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[waimaitt_meituanwm_hbs]" value="0" <?php  if($settings['waimaitt_meituanwm_hbs'] == '0') { ?>checked="true"<?php  } ?><?php  if(!$settings['waimaitt_meituanwm_hbs']) { ?>checked="true"<?php  } ?> /> 不隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[waimaitt_meituanwm_hbs]" value="1" <?php  if($settings['waimaitt_meituanwm_hbs'] == '1') { ?>checked="true"<?php  } ?> /> 隐藏</label>
						</div>
						</div>
					</div>
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-页面背景色</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_meituanwm_bgcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituanwm_bgcolor]',$settings['waimaitt_meituanwm_bgcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituanwm_bgcolor]','#ffba00')?>
							<?php  } ?>
						  <span class="help-block" style="color:red;">*外卖-页面背景色，默认为#ffba00橙黄色</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-顶部图片：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[waimaitt_meituanwm_toppic]', $settings['waimaitt_meituanwm_toppic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图片宽度：750，高度自定，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“先领券”图标：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[waimaitt_meituanwm_step1pic]', $settings['waimaitt_meituanwm_step1pic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图标尺寸：100*100，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“先领券”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_step1text]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituanwm_step1text']) { ?><?php  echo $settings['waimaitt_meituanwm_step1text'];?><?php  } else { ?>先领券<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：先领券</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“先领券”文字颜色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_meituanwm_step1textcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituanwm_step1textcolor]',$settings['waimaitt_meituanwm_step1textcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituanwm_step1textcolor]','#000000')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为黑色：#000000</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“先领券”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_step1textsize]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituanwm_step1textsize']) { ?><?php  echo $settings['waimaitt_meituanwm_step1textsize'];?><?php  } else { ?>24<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：24</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“再下单”图标：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[waimaitt_meituanwm_step2pic]', $settings['waimaitt_meituanwm_step2pic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图标尺寸：100*100，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“再下单”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_step2text]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituanwm_step2text']) { ?><?php  echo $settings['waimaitt_meituanwm_step2text'];?><?php  } else { ?>再下单<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：再下单</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“再下单”文字颜色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_meituanwm_step2textcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituanwm_step2textcolor]',$settings['waimaitt_meituanwm_step2textcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituanwm_step2textcolor]','#000000')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为黑色：#000000</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“再下单”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_step2textsize]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituanwm_step2textsize']) { ?><?php  echo $settings['waimaitt_meituanwm_step2textsize'];?><?php  } else { ?>24<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：24</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“拿返利”图标：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[waimaitt_meituanwm_step3pic]', $settings['waimaitt_meituanwm_step3pic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图标尺寸：100*100，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“拿返利”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_step3text]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituanwm_step3text']) { ?><?php  echo $settings['waimaitt_meituanwm_step3text'];?><?php  } else { ?>拿返利<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：拿返利</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“拿返利”文字颜色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_meituanwm_step3textcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituanwm_step3textcolor]',$settings['waimaitt_meituanwm_step3textcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituanwm_step3textcolor]','#000000')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为黑色：#000000</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“拿返利”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_step3textsize]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituanwm_step3textsize']) { ?><?php  echo $settings['waimaitt_meituanwm_step3textsize'];?><?php  } else { ?>24<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：24</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤连接图标：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[waimaitt_meituanwm_step4pic]', $settings['waimaitt_meituanwm_step4pic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图标尺寸：38*16，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_lingtext]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituanwm_lingtext']) { ?><?php  echo $settings['waimaitt_meituanwm_lingtext'];?><?php  } else { ?>领红包点外卖<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：领红包点外卖</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”文字颜色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_meituanwm_lingtextcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituanwm_lingtextcolor]',$settings['waimaitt_meituanwm_lingtextcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituanwm_lingtextcolor]','#FFFFFF')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为白色：#FFFFFF</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”文字背景色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_meituanwm_lingtextbgcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituanwm_lingtextbgcolor]',$settings['waimaitt_meituanwm_lingtextbgcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituanwm_lingtextbgcolor]','#ff6100')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为红色：#ff6100</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_lingtextsize]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituanwm_lingtextsize']) { ?><?php  echo $settings['waimaitt_meituanwm_lingtextsize'];?><?php  } else { ?>38<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：38</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”文字行高：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_lingtextlh]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituanwm_lingtextlh']) { ?><?php  echo $settings['waimaitt_meituanwm_lingtextlh'];?><?php  } else { ?>80<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：80</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”按钮圆角：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_lingtextradius]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituanwm_lingtextradius']) { ?><?php  echo $settings['waimaitt_meituanwm_lingtextradius'];?><?php  } else { ?>50rpx<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：50rpx</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”上方红包轮播文字颜色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_meituanwm_speakertextcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituanwm_speakertextcolor]',$settings['waimaitt_meituanwm_speakertextcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituanwm_speakertextcolor]','#E76B61')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为：#E76B61</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”上方红包轮播红包随机金额：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_speakerhongbao]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituanwm_speakerhongbao']) { ?><?php  echo $settings['waimaitt_meituanwm_speakerhongbao'];?><?php  } else { ?>2,5,10,15<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：2,5,10,15，每个金额之间使用英文逗号隔开</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”下方按钮跳转小程序appid：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_lingnextappid]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituanwm_lingnextappid']) { ?><?php  echo $settings['waimaitt_meituanwm_lingnextappid'];?><?php  } else { ?><?php  } ?>" />
							<span class="help-block" style="color:red;">*可在领红包点外卖下方再加个红包入口</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”下方按钮跳转小程序path：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_lingnextpath]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituanwm_lingnextpath']) { ?><?php  echo $settings['waimaitt_meituanwm_lingnextpath'];?><?php  } else { ?><?php  } ?>" />
							<span class="help-block" style="color:red;">*可在领红包点外卖下方再加个红包入口</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点商超”下方按钮跳转美团分销联盟活动id：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_lingnextactid]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituanwm_lingnextactid']) { ?><?php  echo $settings['waimaitt_meituanwm_lingnextactid'];?><?php  } else { ?><?php  } ?>" />
							<span class="help-block" style="color:red;">*跳转美团分销联盟活动id，填写即可分销</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”下方按钮文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_lingnexttext]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituanwm_lingnexttext']) { ?><?php  echo $settings['waimaitt_meituanwm_lingnexttext'];?><?php  } else { ?>领加餐红包<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：领加餐红包</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”下方按钮文字颜色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_meituanwm_lingnexttextcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituanwm_lingnexttextcolor]',$settings['waimaitt_meituanwm_lingnexttextcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituanwm_lingnexttextcolor]','#FFFFFF')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为白色：#FFFFFF</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”下方按钮文字背景色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_meituanwm_lingnexttextbgcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituanwm_lingnexttextbgcolor]',$settings['waimaitt_meituanwm_lingnexttextbgcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituanwm_lingnexttextbgcolor]','#1280d9')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为深蓝色：#1280d9</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”下方按钮文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_lingnexttextsize]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituanwm_lingnexttextsize']) { ?><?php  echo $settings['waimaitt_meituanwm_lingnexttextsize'];?><?php  } else { ?>38<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：38</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”下方按钮文字行高：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_lingnexttextlh]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituanwm_lingnexttextlh']) { ?><?php  echo $settings['waimaitt_meituanwm_lingnexttextlh'];?><?php  } else { ?>80<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：80</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-是否隐藏分享按钮组：</label>
						<div class="col-sm-9 col-xs-12">
							<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[waimaitt_meituanwm_share_show]" value="0" <?php  if($settings['waimaitt_meituanwm_share_show'] == '0') { ?>checked="true"<?php  } ?><?php  if(!$settings['waimaitt_meituanwm_share_show']) { ?>checked="true"<?php  } ?> /> 不隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[waimaitt_meituanwm_share_show]" value="1" <?php  if($settings['waimaitt_meituanwm_share_show'] == '1') { ?>checked="true"<?php  } ?> /> 隐藏</label>
						</div>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“分享赚钱”跳转小程序内部路径：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_share_path]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituanwm_share_path']) { ?><?php  echo $settings['waimaitt_meituanwm_share_path'];?><?php  } else { ?>../../pagesA/pages/shareA/index<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为跳转分享中心页面：../../pagesA/pages/shareA/index</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“分享赚钱”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_sharetext]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituanwm_sharetext']) { ?><?php  echo $settings['waimaitt_meituanwm_sharetext'];?><?php  } else { ?>分享赚钱<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：分享赚钱</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“分享赚钱”文字颜色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_meituanwm_sharetextcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituanwm_sharetextcolor]',$settings['waimaitt_meituanwm_sharetextcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituanwm_sharetextcolor]','#FFFFFF')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为白色：#FFFFFF</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“分享赚钱”文字背景色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_meituanwm_sharetextbgcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituanwm_sharetextbgcolor]',$settings['waimaitt_meituanwm_sharetextbgcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituanwm_sharetextbgcolor]','#ff4301')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为红色：#ff4301</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“分享赚钱”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_sharetextsize]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituanwm_sharetextsize']) { ?><?php  echo $settings['waimaitt_meituanwm_sharetextsize'];?><?php  } else { ?>36<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：36</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“分享赚钱”文字行高：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_sharetextlh]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituanwm_sharetextlh']) { ?><?php  echo $settings['waimaitt_meituanwm_sharetextlh'];?><?php  } else { ?>76<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：76</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“复制文案”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_tuantext]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituanwm_tuantext']) { ?><?php  echo $settings['waimaitt_meituanwm_tuantext'];?><?php  } else { ?>复制文案<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：复制文案</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“复制文案”复制的内容：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_tuantext_c]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituanwm_tuantext_c']) { ?><?php  echo $settings['waimaitt_meituanwm_tuantext_c'];?><?php  } else { ?>餐前福利！外卖红包天天领，最高可得56元！<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：餐前福利！外卖红包天天领，最高可得56元！</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“复制文案”文字颜色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_meituanwm_tuantextcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituanwm_tuantextcolor]',$settings['waimaitt_meituanwm_tuantextcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituanwm_tuantextcolor]','#44a718')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为绿色：#44a718</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“复制文案”文字背景色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_meituanwm_tuantextbgcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituanwm_tuantextbgcolor]',$settings['waimaitt_meituanwm_tuantextbgcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituanwm_tuantextbgcolor]','#ffffff')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为白色：#ffffff</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“复制文案”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_tuantextsize]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituanwm_tuantextsize']) { ?><?php  echo $settings['waimaitt_meituanwm_tuantextsize'];?><?php  } else { ?>36<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：36</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“复制文案”文字行高：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_tuantextlh]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituanwm_tuantextlh']) { ?><?php  echo $settings['waimaitt_meituanwm_tuantextlh'];?><?php  } else { ?>76<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：76</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-是否显示注意事项</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[waimaitt_meituanwm_isnotice]" value="1" <?php  if($settings['waimaitt_meituanwm_isnotice'] == 1) { ?>checked="true"<?php  } ?> /> 不显示</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[waimaitt_meituanwm_isnotice]" value="0" <?php  if($settings['waimaitt_meituanwm_isnotice'] == 0) { ?>checked="true"<?php  } else { ?><?php  if($settings['waimaitt_meituanwm_isnotice'] == '') { ?>checked="true"<?php  } ?><?php  } ?> /> 显示</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“注意事项”背景色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_meituanwm_noticebgcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituanwm_noticebgcolor]',$settings['waimaitt_meituanwm_noticebgcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituanwm_noticebgcolor]','#ffffff')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为白色：#FFFFFF</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“注意事项”：</label>
						<div class="col-sm-9">
							<?php  echo tpl_ueditor('data[waimaitt_meituanwm_notice]',$settings['waimaitt_meituanwm_notice'],['height' => 500]);?>
						</div>
					</div>




					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-页面背景色</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_meituansc_bgcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituansc_bgcolor]',$settings['waimaitt_meituansc_bgcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituansc_bgcolor]','#00c425')?>
							<?php  } ?>
						  <span class="help-block" style="color:red;">*商超-页面背景色，默认为#00c425绿色</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-顶部图片：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[waimaitt_meituansc_toppic]', $settings['waimaitt_meituansc_toppic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图片宽度：750，高度自定，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“先领券”图标：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[waimaitt_meituansc_step1pic]', $settings['waimaitt_meituansc_step1pic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图标尺寸：100*100，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“先领券”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_step1text]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituansc_step1text']) { ?><?php  echo $settings['waimaitt_meituansc_step1text'];?><?php  } else { ?>先领券<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：先领券</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“先领券”文字颜色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_meituansc_step1textcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituansc_step1textcolor]',$settings['waimaitt_meituansc_step1textcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituansc_step1textcolor]','#000000')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为黑色：#000000</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“先领券”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_step1textsize]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituansc_step1textsize']) { ?><?php  echo $settings['waimaitt_meituansc_step1textsize'];?><?php  } else { ?>24<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：24</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“再下单”图标：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[waimaitt_meituansc_step2pic]', $settings['waimaitt_meituansc_step2pic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图标尺寸：100*100，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“再下单”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_step2text]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituansc_step2text']) { ?><?php  echo $settings['waimaitt_meituansc_step2text'];?><?php  } else { ?>再下单<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：再下单</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“再下单”文字颜色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_meituansc_step2textcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituansc_step2textcolor]',$settings['waimaitt_meituansc_step2textcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituansc_step2textcolor]','#000000')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为黑色：#000000</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“再下单”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_step2textsize]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituansc_step2textsize']) { ?><?php  echo $settings['waimaitt_meituansc_step2textsize'];?><?php  } else { ?>24<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：24</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“拿返利”图标：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[waimaitt_meituansc_step3pic]', $settings['waimaitt_meituansc_step3pic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图标尺寸：100*100，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“拿返利”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_step3text]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituansc_step3text']) { ?><?php  echo $settings['waimaitt_meituansc_step3text'];?><?php  } else { ?>拿返利<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：拿返利</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“拿返利”文字颜色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_meituansc_step3textcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituansc_step3textcolor]',$settings['waimaitt_meituansc_step3textcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituansc_step3textcolor]','#000000')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为黑色：#000000</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“拿返利”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_step3textsize]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituansc_step3textsize']) { ?><?php  echo $settings['waimaitt_meituansc_step3textsize'];?><?php  } else { ?>24<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：24</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤连接图标：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[waimaitt_meituansc_step4pic]', $settings['waimaitt_meituansc_step4pic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图标尺寸：38*16，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_lingtext]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituansc_lingtext']) { ?><?php  echo $settings['waimaitt_meituansc_lingtext'];?><?php  } else { ?>领红包点外卖<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：领红包点外卖</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”文字颜色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_meituansc_lingtextcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituansc_lingtextcolor]',$settings['waimaitt_meituansc_lingtextcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituansc_lingtextcolor]','#FFFFFF')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为白色：#FFFFFF</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”文字背景色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_meituansc_lingtextbgcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituansc_lingtextbgcolor]',$settings['waimaitt_meituansc_lingtextbgcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituansc_lingtextbgcolor]','#32b766')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为绿色：#32b766</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_lingtextsize]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituansc_lingtextsize']) { ?><?php  echo $settings['waimaitt_meituansc_lingtextsize'];?><?php  } else { ?>38<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：38</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”文字行高：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_lingtextlh]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituansc_lingtextlh']) { ?><?php  echo $settings['waimaitt_meituansc_lingtextlh'];?><?php  } else { ?>80<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：80</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”按钮圆角：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_lingtextradius]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituansc_lingtextradius']) { ?><?php  echo $settings['waimaitt_meituansc_lingtextradius'];?><?php  } else { ?>50rpx<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：50rpx</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”下方按钮跳转小程序appid：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_lingnextappid]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituansc_lingnextappid']) { ?><?php  echo $settings['waimaitt_meituansc_lingnextappid'];?><?php  } else { ?><?php  } ?>" />
							<span class="help-block" style="color:red;">*可在领红包点外卖下方再加个红包入口</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”下方按钮跳转小程序path：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_lingnextpath]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituansc_lingnextpath']) { ?><?php  echo $settings['waimaitt_meituansc_lingnextpath'];?><?php  } else { ?><?php  } ?>" />
							<span class="help-block" style="color:red;">*可在领红包点外卖下方再加个红包入口</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”下方按钮跳转美团分销联盟活动id：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_lingnextactid]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituansc_lingnextactid']) { ?><?php  echo $settings['waimaitt_meituansc_lingnextactid'];?><?php  } else { ?><?php  } ?>" />
							<span class="help-block" style="color:red;">*跳转美团分销联盟活动id，填写即可分销</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”下方按钮文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_lingnexttext]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituansc_lingnexttext']) { ?><?php  echo $settings['waimaitt_meituansc_lingnexttext'];?><?php  } else { ?>领加餐红包<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：领加餐红包</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”下方按钮文字颜色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_meituansc_lingnexttextcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituansc_lingnexttextcolor]',$settings['waimaitt_meituansc_lingnexttextcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituansc_lingnexttextcolor]','#FFFFFF')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为白色：#FFFFFF</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”下方按钮文字背景色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_meituansc_lingnexttextbgcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituansc_lingnexttextbgcolor]',$settings['waimaitt_meituansc_lingnexttextbgcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituansc_lingnexttextbgcolor]','#1280d9')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为深蓝色：#1280d9</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”下方按钮文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_lingnexttextsize]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituansc_lingnexttextsize']) { ?><?php  echo $settings['waimaitt_meituansc_lingnexttextsize'];?><?php  } else { ?>38<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：38</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”下方按钮文字行高：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_lingnexttextlh]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituansc_lingnexttextlh']) { ?><?php  echo $settings['waimaitt_meituansc_lingnexttextlh'];?><?php  } else { ?>80<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：80</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“分享赚钱”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_sharetext]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituansc_sharetext']) { ?><?php  echo $settings['waimaitt_meituansc_sharetext'];?><?php  } else { ?>分享赚钱<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：分享赚钱</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“分享赚钱”文字颜色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_meituansc_sharetextcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituansc_sharetextcolor]',$settings['waimaitt_meituansc_sharetextcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituansc_sharetextcolor]','#9c7b44')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为金色：#9c7b44</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“分享赚钱”文字背景色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_sharetextbgcolor]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituansc_sharetextbgcolor']) { ?><?php  echo $settings['waimaitt_meituansc_sharetextbgcolor'];?><?php  } else { ?>linear-gradient(to top,#f7c277,#fdf4ca)<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为渐变色：linear-gradient(to top,#f7c277,#fdf4ca)</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“分享赚钱”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_sharetextsize]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituansc_sharetextsize']) { ?><?php  echo $settings['waimaitt_meituansc_sharetextsize'];?><?php  } else { ?>36<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：36</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“分享赚钱”文字行高：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_sharetextlh]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituansc_sharetextlh']) { ?><?php  echo $settings['waimaitt_meituansc_sharetextlh'];?><?php  } else { ?>76<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：76</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“复制文案”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_tuantext]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituansc_tuantext']) { ?><?php  echo $settings['waimaitt_meituansc_tuantext'];?><?php  } else { ?>复制文案<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：复制文案</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“复制文案”复制的内容：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_tuantext_c]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituansc_tuantext_c']) { ?><?php  echo $settings['waimaitt_meituansc_tuantext_c'];?><?php  } else { ?>红包天天领，最高可得36元！<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：红包天天领，最高可得36元！</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“复制文案”文字颜色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_meituansc_tuantextcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituansc_tuantextcolor]',$settings['waimaitt_meituansc_tuantextcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituansc_tuantextcolor]','#44a718')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为绿色：#44a718</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“复制文案”文字背景色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_meituansc_tuantextbgcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituansc_tuantextbgcolor]',$settings['waimaitt_meituansc_tuantextbgcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituansc_tuantextbgcolor]','#FFFFFF')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为白色：#FFFFFF</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“复制文案”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_tuantextsize]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituansc_tuantextsize']) { ?><?php  echo $settings['waimaitt_meituansc_tuantextsize'];?><?php  } else { ?>36<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：36</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“复制文案”文字行高：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_tuantextlh]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituansc_tuantextlh']) { ?><?php  echo $settings['waimaitt_meituansc_tuantextlh'];?><?php  } else { ?>76<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：76</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-是否显示注意事项</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[waimaitt_meituansc_isnotice]" value="1" <?php  if($settings['waimaitt_meituansc_isnotice'] == 1) { ?>checked="true"<?php  } ?> /> 不显示</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[waimaitt_meituansc_isnotice]" value="0" <?php  if($settings['waimaitt_meituansc_isnotice'] == 0) { ?>checked="true"<?php  } else { ?><?php  if($settings['waimaitt_meituansc_isnotice'] == '') { ?>checked="true"<?php  } ?><?php  } ?> /> 显示</label>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“注意事项”背景色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_meituansc_noticebgcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituansc_noticebgcolor]',$settings['waimaitt_meituansc_noticebgcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_meituansc_noticebgcolor]','#FFFFFF')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为白色：#FFFFFF</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“注意事项”：</label>
						<div class="col-sm-9">
							<?php  echo tpl_ueditor('data[waimaitt_meituansc_notice]',$settings['waimaitt_meituansc_notice'],['height' => 500]);?>
						</div>
					</div>
					
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="waimaitt-elm">
				
				<div class="panel-heading">页面设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-是否隐藏二维码：</label>
						<div class="col-sm-9 col-xs-12">
							<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[waimaitt_elmwm_qecode]" value="0" <?php  if($settings['waimaitt_elmwm_qecode'] == '0') { ?>checked="true"<?php  } ?><?php  if(!$settings['waimaitt_elmwm_qecode']) { ?>checked="true"<?php  } ?> /> 不隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[waimaitt_elmwm_qecode]" value="1" <?php  if($settings['waimaitt_elmwm_qecode'] == '1') { ?>checked="true"<?php  } ?> /> 隐藏</label>
						</div>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-是否隐藏虚拟领取红包广播：</label>
						<div class="col-sm-9 col-xs-12">
							<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[waimaitt_elmwm_hbs]" value="0" <?php  if($settings['waimaitt_elmwm_hbs'] == '0') { ?>checked="true"<?php  } ?><?php  if(!$settings['waimaitt_elmwm_hbs']) { ?>checked="true"<?php  } ?> /> 不隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[waimaitt_elmwm_hbs]" value="1" <?php  if($settings['waimaitt_elmwm_hbs'] == '1') { ?>checked="true"<?php  } ?> /> 隐藏</label>
						</div>
						</div>
					</div>
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-页面背景色</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_elmwm_bgcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmwm_bgcolor]',$settings['waimaitt_elmwm_bgcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmwm_bgcolor]','#027dd8')?>
							<?php  } ?>
						  <span class="help-block" style="color:red;">*外卖-页面背景色，默认为#027dd8深蓝色</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-顶部图片：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[waimaitt_elmwm_toppic]', $settings['waimaitt_elmwm_toppic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图片宽度：750，高度自定，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“先领券”图标：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[waimaitt_elmwm_step1pic]', $settings['waimaitt_elmwm_step1pic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图标尺寸：100*100，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“先领券”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_step1text]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmwm_step1text']) { ?><?php  echo $settings['waimaitt_elmwm_step1text'];?><?php  } else { ?>先领券<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：先领券</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“先领券”文字颜色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_elmwm_step1textcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmwm_step1textcolor]',$settings['waimaitt_elmwm_step1textcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmwm_step1textcolor]','#000000')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为黑色：#000000</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“先领券”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_step1textsize]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmwm_step1textsize']) { ?><?php  echo $settings['waimaitt_elmwm_step1textsize'];?><?php  } else { ?>24<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：24</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“再下单”图标：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[waimaitt_elmwm_step2pic]', $settings['waimaitt_elmwm_step2pic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图标尺寸：100*100，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“再下单”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_step2text]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmwm_step2text']) { ?><?php  echo $settings['waimaitt_elmwm_step2text'];?><?php  } else { ?>再下单<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：再下单</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“再下单”文字颜色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_elmwm_step2textcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmwm_step2textcolor]',$settings['waimaitt_elmwm_step2textcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmwm_step2textcolor]','#000000')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为黑色：#000000</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“再下单”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_step2textsize]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmwm_step2textsize']) { ?><?php  echo $settings['waimaitt_elmwm_step2textsize'];?><?php  } else { ?>24<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：24</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“拿返利”图标：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[waimaitt_elmwm_step3pic]', $settings['waimaitt_elmwm_step3pic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图标尺寸：100*100，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“拿返利”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_step3text]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmwm_step3text']) { ?><?php  echo $settings['waimaitt_elmwm_step3text'];?><?php  } else { ?>拿返利<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：拿返利</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“拿返利”文字颜色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_elmwm_step3textcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmwm_step3textcolor]',$settings['waimaitt_elmwm_step3textcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmwm_step3textcolor]','#000000')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为黑色：#000000</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤“拿返利”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_step3textsize]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmwm_step3textsize']) { ?><?php  echo $settings['waimaitt_elmwm_step3textsize'];?><?php  } else { ?>24<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：24</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-步骤连接图标：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[waimaitt_elmwm_step4pic]', $settings['waimaitt_elmwm_step4pic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图标尺寸：38*16，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_lingtext]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmwm_lingtext']) { ?><?php  echo $settings['waimaitt_elmwm_lingtext'];?><?php  } else { ?>领红包点外卖<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：领红包点外卖</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”文字颜色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_elmwm_lingtextcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmwm_lingtextcolor]',$settings['waimaitt_elmwm_lingtextcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmwm_lingtextcolor]','#FFFFFF')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为白色：#FFFFFF</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”文字背景色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_elmwm_lingtextbgcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmwm_lingtextbgcolor]',$settings['waimaitt_elmwm_lingtextbgcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmwm_lingtextbgcolor]','#1280d9')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为深蓝色：#1280d9</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_lingtextsize]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmwm_lingtextsize']) { ?><?php  echo $settings['waimaitt_elmwm_lingtextsize'];?><?php  } else { ?>38<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：38</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”文字行高：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_lingtextlh]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmwm_lingtextlh']) { ?><?php  echo $settings['waimaitt_elmwm_lingtextlh'];?><?php  } else { ?>80<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：80</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”按钮圆角：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_lingtextradius]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmwm_lingtextradius']) { ?><?php  echo $settings['waimaitt_elmwm_lingtextradius'];?><?php  } else { ?>50rpx<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：50rpx</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”上方红包轮播文字颜色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_elmwm_speakertextcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmwm_speakertextcolor]',$settings['waimaitt_elmwm_speakertextcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmwm_speakertextcolor]','#E76B61')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为：#E76B61</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”上方红包轮播红包随机金额：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_speakerhongbao]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmwm_speakerhongbao']) { ?><?php  echo $settings['waimaitt_elmwm_speakerhongbao'];?><?php  } else { ?>2,5,10,15<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：2,5,10,15，每个金额之间使用英文逗号隔开</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”下方按钮跳转小程序appid：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_lingnextappid]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmwm_lingnextappid']) { ?><?php  echo $settings['waimaitt_elmwm_lingnextappid'];?><?php  } else { ?><?php  } ?>" />
							<span class="help-block" style="color:red;">*可在领红包点外卖下方再加个红包入口</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”下方按钮跳转小程序path：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_lingnextpath]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmwm_lingnextpath']) { ?><?php  echo $settings['waimaitt_elmwm_lingnextpath'];?><?php  } else { ?><?php  } ?>" />
							<span class="help-block" style="color:red;">*可在领红包点外卖下方再加个红包入口</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”下方按钮官方活动id：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_lingnextactid]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmwm_lingnextactid']) { ?><?php  echo $settings['waimaitt_elmwm_lingnextactid'];?><?php  } else { ?><?php  } ?>" />
							<span class="help-block" style="color:red;">*填写官方活动id，填写即支持分销</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”下方按钮文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_lingnexttext]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmwm_lingnexttext']) { ?><?php  echo $settings['waimaitt_elmwm_lingnexttext'];?><?php  } else { ?>领加餐红包<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：领加餐红包</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”下方按钮文字颜色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_elmwm_lingnexttextcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmwm_lingnexttextcolor]',$settings['waimaitt_elmwm_lingnexttextcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmwm_lingnexttextcolor]','#FFFFFF')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为白色：#FFFFFF</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”下方按钮文字背景色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_elmwm_lingnexttextbgcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmwm_lingnexttextbgcolor]',$settings['waimaitt_elmwm_lingnexttextbgcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmwm_lingnexttextbgcolor]','#1280d9')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为深蓝色：#1280d9</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”下方按钮文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_lingnexttextsize]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmwm_lingnexttextsize']) { ?><?php  echo $settings['waimaitt_elmwm_lingnexttextsize'];?><?php  } else { ?>38<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：38</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“领红包点外卖”下方按钮文字行高：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_lingnexttextlh]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmwm_lingnexttextlh']) { ?><?php  echo $settings['waimaitt_elmwm_lingnexttextlh'];?><?php  } else { ?>80<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：80</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-是否隐藏分享按钮组：</label>
						<div class="col-sm-9 col-xs-12">
							<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[waimaitt_elmwm_share_show]" value="0" <?php  if($settings['waimaitt_elmwm_share_show'] == '0') { ?>checked="true"<?php  } ?><?php  if(!$settings['waimaitt_elmwm_share_show']) { ?>checked="true"<?php  } ?> /> 不隐藏</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[waimaitt_elmwm_share_show]" value="1" <?php  if($settings['waimaitt_elmwm_share_show'] == '1') { ?>checked="true"<?php  } ?> /> 隐藏</label>
						</div>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“分享赚钱”跳转小程序内部路径：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_share_path]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmwm_share_path']) { ?><?php  echo $settings['waimaitt_elmwm_share_path'];?><?php  } else { ?>../../pagesA/pages/shareA/index<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为跳转分享中心页面：../../pagesA/pages/shareA/index</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“分享赚钱”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_sharetext]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmwm_sharetext']) { ?><?php  echo $settings['waimaitt_elmwm_sharetext'];?><?php  } else { ?>分享赚钱<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：分享赚钱</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“分享赚钱”文字颜色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_elmwm_sharetextcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmwm_sharetextcolor]',$settings['waimaitt_elmwm_sharetextcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmwm_sharetextcolor]','#FFFFFF')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为白色：#FFFFFF</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“分享赚钱”文字背景色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_elmwm_sharetextbgcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmwm_sharetextbgcolor]',$settings['waimaitt_elmwm_sharetextbgcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmwm_sharetextbgcolor]','#105195')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为深蓝色：#105195</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“分享赚钱”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_sharetextsize]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmwm_sharetextsize']) { ?><?php  echo $settings['waimaitt_elmwm_sharetextsize'];?><?php  } else { ?>36<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：36</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“分享赚钱”文字行高：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_sharetextlh]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmwm_sharetextlh']) { ?><?php  echo $settings['waimaitt_elmwm_sharetextlh'];?><?php  } else { ?>76<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：76</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“复制文案”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_tuantext]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmwm_tuantext']) { ?><?php  echo $settings['waimaitt_elmwm_tuantext'];?><?php  } else { ?>复制文案<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：复制文案</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“复制文案”复制的内容：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_tuantext_c]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmwm_tuantext_c']) { ?><?php  echo $settings['waimaitt_elmwm_tuantext_c'];?><?php  } else { ?>餐前福利！外卖红包天天领，最高可得66元！<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：餐前福利！外卖红包天天领，最高可得66元！</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“复制文案”文字颜色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_elmwm_tuantextcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmwm_tuantextcolor]',$settings['waimaitt_elmwm_tuantextcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmwm_tuantextcolor]','#1b4e63')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为深蓝色：#1b4e63</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“复制文案”文字背景色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_elmwm_tuantextbgcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmwm_tuantextbgcolor]',$settings['waimaitt_elmwm_tuantextbgcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmwm_tuantextbgcolor]','#ffffff')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为白色：#ffffff</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“复制文案”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_tuantextsize]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmwm_tuantextsize']) { ?><?php  echo $settings['waimaitt_elmwm_tuantextsize'];?><?php  } else { ?>36<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：36</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“复制文案”文字行高：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_tuantextlh]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmwm_tuantextlh']) { ?><?php  echo $settings['waimaitt_elmwm_tuantextlh'];?><?php  } else { ?>76<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：76</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-是否显示注意事项</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[waimaitt_elmwm_isnotice]" value="1" <?php  if($settings['waimaitt_elmwm_isnotice'] == 1) { ?>checked="true"<?php  } ?> /> 不显示</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[waimaitt_elmwm_isnotice]" value="0" <?php  if($settings['waimaitt_elmwm_isnotice'] == 0) { ?>checked="true"<?php  } else { ?><?php  if($settings['waimaitt_elmwm_isnotice'] == '') { ?>checked="true"<?php  } ?><?php  } ?> /> 显示</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“注意事项”背景色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_elmwm_noticebgcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmwm_noticebgcolor]',$settings['waimaitt_elmwm_noticebgcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmwm_noticebgcolor]','#ffffff')?>
							<?php  } ?>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">外卖-“注意事项”：</label>
						<div class="col-sm-9">
							<?php  echo tpl_ueditor('data[waimaitt_elmwm_notice]',$settings['waimaitt_elmwm_notice'],['height' => 500]);?>
						</div>
					</div>




					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-页面背景色</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_elmsc_bgcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmsc_bgcolor]',$settings['waimaitt_elmsc_bgcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmsc_bgcolor]','#4ddba9')?>
							<?php  } ?>
						  <span class="help-block" style="color:red;">*商超-页面背景色，默认为#4ddba9绿色</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-顶部图片：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[waimaitt_elmsc_toppic]', $settings['waimaitt_elmsc_toppic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图片宽度：750，高度自定，不上传则使用默认图片</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“先领券”图标：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[waimaitt_elmsc_step1pic]', $settings['waimaitt_elmsc_step1pic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图标尺寸：100*100，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“先领券”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_step1text]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmsc_step1text']) { ?><?php  echo $settings['waimaitt_elmsc_step1text'];?><?php  } else { ?>先领券<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：先领券</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“先领券”文字颜色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_elmsc_step1textcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmsc_step1textcolor]',$settings['waimaitt_elmsc_step1textcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmsc_step1textcolor]','#000000')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为黑色：#000000</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“先领券”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_step1textsize]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmsc_step1textsize']) { ?><?php  echo $settings['waimaitt_elmsc_step1textsize'];?><?php  } else { ?>24<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：24</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“再下单”图标：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[waimaitt_elmsc_step2pic]', $settings['waimaitt_elmsc_step2pic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图标尺寸：100*100，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“再下单”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_step2text]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmsc_step2text']) { ?><?php  echo $settings['waimaitt_elmsc_step2text'];?><?php  } else { ?>再下单<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：再下单</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“再下单”文字颜色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_elmsc_step2textcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmsc_step2textcolor]',$settings['waimaitt_elmsc_step2textcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmsc_step2textcolor]','#000000')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为黑色：#000000</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“再下单”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_step2textsize]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmsc_step2textsize']) { ?><?php  echo $settings['waimaitt_elmsc_step2textsize'];?><?php  } else { ?>24<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：24</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“拿返利”图标：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[waimaitt_elmsc_step3pic]', $settings['waimaitt_elmsc_step3pic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图标尺寸：100*100，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“拿返利”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_step3text]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmsc_step3text']) { ?><?php  echo $settings['waimaitt_elmsc_step3text'];?><?php  } else { ?>拿返利<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：拿返利</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“拿返利”文字颜色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_elmsc_step3textcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmsc_step3textcolor]',$settings['waimaitt_elmsc_step3textcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmsc_step3textcolor]','#000000')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为黑色：#000000</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤“拿返利”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_step3textsize]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmsc_step3textsize']) { ?><?php  echo $settings['waimaitt_elmsc_step3textsize'];?><?php  } else { ?>24<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：24</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-步骤连接图标：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[waimaitt_elmsc_step4pic]', $settings['waimaitt_elmsc_step4pic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图标尺寸：38*16，不上传则使用默认图标</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_lingtext]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmsc_lingtext']) { ?><?php  echo $settings['waimaitt_elmsc_lingtext'];?><?php  } else { ?>领红包点外卖<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：领红包点外卖</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”文字颜色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_elmsc_lingtextcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmsc_lingtextcolor]',$settings['waimaitt_elmsc_lingtextcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmsc_lingtextcolor]','#FFFFFF')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为白色：#FFFFFF</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”文字背景色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_elmsc_lingtextbgcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmsc_lingtextbgcolor]',$settings['waimaitt_elmsc_lingtextbgcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmsc_lingtextbgcolor]','#10c495')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为绿色：#10c495</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_lingtextsize]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmsc_lingtextsize']) { ?><?php  echo $settings['waimaitt_elmsc_lingtextsize'];?><?php  } else { ?>38<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：38</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”文字行高：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_lingtextlh]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmsc_lingtextlh']) { ?><?php  echo $settings['waimaitt_elmsc_lingtextlh'];?><?php  } else { ?>80<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：80</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”按钮圆角：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_lingtextradius]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmsc_lingtextradius']) { ?><?php  echo $settings['waimaitt_elmsc_lingtextradius'];?><?php  } else { ?>50rpx<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：50rpx</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”下方按钮跳转小程序appid：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_lingnextappid]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmsc_lingnextappid']) { ?><?php  echo $settings['waimaitt_elmsc_lingnextappid'];?><?php  } else { ?><?php  } ?>" />
							<span class="help-block" style="color:red;">*可在领红包点外卖下方再加个红包入口</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”下方按钮跳转小程序path：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_lingnextpath]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmsc_lingnextpath']) { ?><?php  echo $settings['waimaitt_elmsc_lingnextpath'];?><?php  } else { ?><?php  } ?>" />
							<span class="help-block" style="color:red;">*可在领红包点外卖下方再加个红包入口</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”下方按钮官方活动id：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_lingnextactid]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmsc_lingnextactid']) { ?><?php  echo $settings['waimaitt_elmsc_lingnextactid'];?><?php  } else { ?><?php  } ?>" />
							<span class="help-block" style="color:red;">*填写官方活动id，填写即支持分销</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”下方按钮文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_lingnexttext]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmsc_lingnexttext']) { ?><?php  echo $settings['waimaitt_elmsc_lingnexttext'];?><?php  } else { ?>领加餐红包<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：领加餐红包</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”下方按钮文字颜色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_elmsc_lingnexttextcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmsc_lingnexttextcolor]',$settings['waimaitt_elmsc_lingnexttextcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmsc_lingnexttextcolor]','#FFFFFF')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为白色：#FFFFFF</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”下方按钮文字背景色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_elmsc_lingnexttextbgcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmsc_lingnexttextbgcolor]',$settings['waimaitt_elmsc_lingnexttextbgcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmsc_lingnexttextbgcolor]','#1280d9')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为深蓝色：#1280d9</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”下方按钮文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_lingnexttextsize]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmsc_lingnexttextsize']) { ?><?php  echo $settings['waimaitt_elmsc_lingnexttextsize'];?><?php  } else { ?>38<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：38</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“领红包点外卖”下方按钮文字行高：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_lingnexttextlh]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmsc_lingnexttextlh']) { ?><?php  echo $settings['waimaitt_elmsc_lingnexttextlh'];?><?php  } else { ?>80<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：80</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“分享赚钱”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_sharetext]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmsc_sharetext']) { ?><?php  echo $settings['waimaitt_elmsc_sharetext'];?><?php  } else { ?>分享赚钱<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：分享赚钱</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“分享赚钱”文字颜色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_elmsc_sharetextcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmsc_sharetextcolor]',$settings['waimaitt_elmsc_sharetextcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmsc_sharetextcolor]','#9c7b44')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为金色：#9c7b44</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“分享赚钱”文字背景色：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_sharetextbgcolor]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmsc_sharetextbgcolor']) { ?><?php  echo $settings['waimaitt_elmsc_sharetextbgcolor'];?><?php  } else { ?>linear-gradient(to top,#f7c277,#fdf4ca)<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为渐变色：linear-gradient(to top,#f7c277,#fdf4ca)</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“分享赚钱”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_sharetextsize]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmsc_sharetextsize']) { ?><?php  echo $settings['waimaitt_elmsc_sharetextsize'];?><?php  } else { ?>36<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：36</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“分享赚钱”文字行高：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_sharetextlh]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmsc_sharetextlh']) { ?><?php  echo $settings['waimaitt_elmsc_sharetextlh'];?><?php  } else { ?>76<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：76</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“复制文案”文字：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_tuantext]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmsc_tuantext']) { ?><?php  echo $settings['waimaitt_elmsc_tuantext'];?><?php  } else { ?>复制文案<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：复制文案</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“复制文案”复制的内容：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_tuantext_c]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmsc_tuantext_c']) { ?><?php  echo $settings['waimaitt_elmsc_tuantext_c'];?><?php  } else { ?>红包天天领，最高可得20元！<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：红包天天领，最高可得20元！</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“复制文案”文字颜色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_elmsc_tuantextcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmsc_tuantextcolor]',$settings['waimaitt_elmsc_tuantextcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmsc_tuantextcolor]','#1b4e63')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为黑色：#1b4e63</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“复制文案”文字背景色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_elmsc_tuantextbgcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmsc_tuantextbgcolor]',$settings['waimaitt_elmsc_tuantextbgcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmsc_tuantextbgcolor]','#FFFFFF')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为白色：#FFFFFF</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“复制文案”文字大小：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_tuantextsize]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmsc_tuantextsize']) { ?><?php  echo $settings['waimaitt_elmsc_tuantextsize'];?><?php  } else { ?>36<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：36</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“复制文案”文字行高：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_tuantextlh]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmsc_tuantextlh']) { ?><?php  echo $settings['waimaitt_elmsc_tuantextlh'];?><?php  } else { ?>76<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：76</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-是否显示注意事项</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[waimaitt_elmsc_isnotice]" value="1" <?php  if($settings['waimaitt_elmsc_isnotice'] == 1) { ?>checked="true"<?php  } ?> /> 不显示</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[waimaitt_elmsc_isnotice]" value="0" <?php  if($settings['waimaitt_elmsc_isnotice'] == 0) { ?>checked="true"<?php  } else { ?><?php  if($settings['waimaitt_elmsc_isnotice'] == '') { ?>checked="true"<?php  } ?><?php  } ?> /> 显示</label>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“注意事项”背景色：</label>
						<div class="col-sm-4">
						    <?php  if($settings['waimaitt_elmsc_noticebgcolor']) { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmsc_noticebgcolor]',$settings['waimaitt_elmsc_noticebgcolor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[waimaitt_elmsc_noticebgcolor]','#FFFFFF')?>
							<?php  } ?>
							<span class="help-block" style="color:red;">*默认为白色：#FFFFFF</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商超-“注意事项”：</label>
						<div class="col-sm-9">
							<?php  echo tpl_ueditor('data[waimaitt_elmsc_notice]',$settings['waimaitt_elmsc_notice'],['height' => 500]);?>
						</div>
					</div>
					
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="waimaitt-poster">
				<div class="panel-heading">海报设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团饿了么海报类型：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[poster_type]" value="0" <?php  if($settings['poster_type'] == 0) { ?>checked="true"<?php  } ?> /> 打开自己的小程序</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[poster_type]" value="1" <?php  if($settings['poster_type'] == 1) { ?>checked="true"<?php  } ?> /> 打开美团饿了么小程序</label>
							<span class="help-block" style="color:red;">*美团饿了么页面的海报扫码打开的类型。如果海报二维码选择打开美团饿了么小程序，请将https://img.alicdn.com、https://p0.meituan.net、https://p1.meituan.net、https://p2.meituan.net、https://p3.meituan.net添加到微信小程序后台的downloadfile域名里面（开发管理—>开发设置->服务器域名）</span>
						</div>
					</div>
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">个人中心公众号海报关键词</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[user_poster_keyword]" class="form-control" placeholder="" value="<?php  echo $settings['user_poster_keyword'];?>" />
							<span class="help-block" style="color:red;">*个人中心公众号海报关键词，填写之后个人中心海报将生成公众号关注海报，不填则使用小程序海报。</span>
						</div>
					</div>
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">个人中心-海报底图：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[myposter]', $settings['myposter'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图片尺寸：750*1334</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">个人中心-海报二维码logo：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[myposterlogo]', $settings['myposterlogo'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*请上传png格式的图片，图片尺寸：200*200</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">个人中心-海报二维码宽高：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[myposter_qrcode]" class="form-control" placeholder="" value="<?php  if($settings['myposter_qrcode']) { ?><?php  echo $settings['myposter_qrcode'];?><?php  } else { ?>350<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：350</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">个人中心-海报二维码X轴偏移位置：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[myposter_qrcodex]" class="form-control" placeholder="" value="<?php  if($settings['myposter_qrcodex']) { ?><?php  echo $settings['myposter_qrcodex'];?><?php  } else { ?>0<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认位置为居中，0表示居中，负数表示向左偏移，正数表示向右偏移</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">个人中心-海报二维码Y轴位置：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[myposter_qrcodey]" class="form-control" placeholder="" value="<?php  if($settings['myposter_qrcodey']) { ?><?php  echo $settings['myposter_qrcodey'];?><?php  } else { ?>615<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认：615</span>
						</div>
					</div>


					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团外卖公众号海报关键词</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[mtwm_poster_keyword]" class="form-control" placeholder="" value="<?php  echo $settings['mtwm_poster_keyword'];?>" />
							<span class="help-block" style="color:red;">*美团外卖公众号海报关键词，填写之后美团外卖海报将生成公众号关注海报，不填则使用小程序海报。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团外卖-海报底图：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[waimaitt_meituanwm_poster]', $settings['waimaitt_meituanwm_poster'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图片尺寸：750*1334</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团外卖-海报二维码宽高：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_poster_qrcode]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituanwm_poster_qrcode']) { ?><?php  echo $settings['waimaitt_meituanwm_poster_qrcode'];?><?php  } else { ?>350<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：350</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团外卖-海报二维码X轴偏移位置：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_poster_qrcodex]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituanwm_poster_qrcodex']) { ?><?php  echo $settings['waimaitt_meituanwm_poster_qrcodex'];?><?php  } else { ?>0<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认位置为居中，0表示居中，负数表示向左偏移，正数表示向右偏移</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团外卖-海报二维码Y轴位置：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituanwm_poster_qrcodey]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituanwm_poster_qrcodey']) { ?><?php  echo $settings['waimaitt_meituanwm_poster_qrcodey'];?><?php  } else { ?>615<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认：615</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团商超公众号海报关键词</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[mtsc_poster_keyword]" class="form-control" placeholder="" value="<?php  echo $settings['mtsc_poster_keyword'];?>" />
							<span class="help-block" style="color:red;">*美团商超公众号海报关键词，填写之后美团商超海报将生成公众号关注海报，不填则使用小程序海报。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团商超-海报底图：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[waimaitt_meituansc_poster]', $settings['waimaitt_meituansc_poster'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图片尺寸：750*1334</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团商超-海报二维码宽高：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_poster_qrcode]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituansc_poster_qrcode']) { ?><?php  echo $settings['waimaitt_meituansc_poster_qrcode'];?><?php  } else { ?>350<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：350</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团商超-海报二维码X轴偏移位置：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_poster_qrcodex]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituansc_poster_qrcodex']) { ?><?php  echo $settings['waimaitt_meituansc_poster_qrcodex'];?><?php  } else { ?>0<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认位置为居中，0表示居中，负数表示向左偏移，正数表示向右偏移</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团商超-海报二维码Y轴位置：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_meituansc_poster_qrcodey]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_meituansc_poster_qrcodey']) { ?><?php  echo $settings['waimaitt_meituansc_poster_qrcodey'];?><?php  } else { ?>615<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认：615</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">饿了么外卖公众号海报关键词</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[elmwm_poster_keyword]" class="form-control" placeholder="" value="<?php  echo $settings['elmwm_poster_keyword'];?>" />
							<span class="help-block" style="color:red;">*饿了么外卖公众号海报关键词，填写之后饿了么外卖海报将生成公众号关注海报，不填则使用小程序海报。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">饿了么外卖-海报底图：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[waimaitt_elmwm_poster]', $settings['waimaitt_elmwm_poster'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图片尺寸：750*1334</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">饿了么外卖-海报二维码宽高：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_poster_qrcode]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmwm_poster_qrcode']) { ?><?php  echo $settings['waimaitt_elmwm_poster_qrcode'];?><?php  } else { ?>350<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：350</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">饿了么外卖-海报二维码X轴偏移位置：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_poster_qrcodex]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmwm_poster_qrcodex']) { ?><?php  echo $settings['waimaitt_elmwm_poster_qrcodex'];?><?php  } else { ?>0<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认位置为居中，0表示居中，负数表示向左偏移，正数表示向右偏移</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">饿了么外卖-海报二维码Y轴位置：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmwm_poster_qrcodey]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmwm_poster_qrcodey']) { ?><?php  echo $settings['waimaitt_elmwm_poster_qrcodey'];?><?php  } else { ?>805<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认：805</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">饿了么果蔬商超公众号海报关键词</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[elmsc_poster_keyword]" class="form-control" placeholder="" value="<?php  echo $settings['elmsc_poster_keyword'];?>" />
							<span class="help-block" style="color:red;">*饿了么果蔬商超公众号海报关键词，填写之后饿了么果蔬商超海报将生成公众号关注海报，不填则使用小程序海报。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">饿了么果蔬商超-海报底图：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[waimaitt_elmsc_poster]', $settings['waimaitt_elmsc_poster'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图片尺寸：750*1334</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">饿了么果蔬商超-海报二维码宽高：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_poster_qrcode]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmsc_poster_qrcode']) { ?><?php  echo $settings['waimaitt_elmsc_poster_qrcode'];?><?php  } else { ?>350<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认为：350</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">饿了么果蔬商超-海报二维码X轴偏移位置：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_poster_qrcodex]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmsc_poster_qrcodex']) { ?><?php  echo $settings['waimaitt_elmsc_poster_qrcodex'];?><?php  } else { ?>0<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认位置为居中，0表示居中，负数表示向左偏移，正数表示向右偏移</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">饿了么果蔬商超-海报二维码Y轴位置：</label>
						<div class="col-sm-9 col-xs-12">
							<input type="text" name="data[waimaitt_elmsc_poster_qrcodey]" class="form-control" placeholder="" value="<?php  if($settings['waimaitt_elmsc_poster_qrcodey']) { ?><?php  echo $settings['waimaitt_elmsc_poster_qrcodey'];?><?php  } else { ?>505<?php  } ?>" />
							<span class="help-block" style="color:red;">*默认：505</span>
						</div>
					</div>
					
				</div>
			</div>
			<!--
			<div role="tabpanel" class="tab-pane panel panel-default main" id="ranking" style="display:<?php  if($_W['role']!='founder') { ?><?php  } else { ?><?php  } ?>;">
				<div class="panel-heading">排行榜页设置</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">页面背景色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[ranking_bg]" class="form-control" placeholder="" value="<?php  if($settings['ranking_bg']) { ?><?php  echo $settings['ranking_bg'];?><?php  } else { ?>#e25947<?php  } ?>" />
						  <span class="help-block" style="color:red;">*背景色，默认为：#e25947红色</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部图片：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[ranking_toppic]', $settings['ranking_toppic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图片尺寸：750*350</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">榜单距离顶部距离</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[ranking_list_top]" class="form-control" placeholder="" value="<?php  if($settings['ranking_list_top']) { ?><?php  echo $settings['ranking_list_top'];?><?php  } else { ?>250<?php  } ?>" />
						  <span class="help-block" style="color:red;">*榜单距离顶部距离，默认为：250</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">榜单背景色</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[ranking_list_bg]" class="form-control" placeholder="" value="<?php  if($settings['ranking_list_bg']) { ?><?php  echo $settings['ranking_list_bg'];?><?php  } else { ?>#FFFFFF<?php  } ?>" />
						  <span class="help-block" style="color:red;">*榜单背景色，默认为：#FFFFFF白色</span>
						</div>
					</div>
				</div>
			</div>
			-->
			<div role="tabpanel" class="tab-pane panel panel-default main" id="fenxiao" style="display:<?php  if($_W['role']!='founder') { ?><?php  } else { ?><?php  } ?>;">
			    <div class="panel-heading">佣金开关</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否启用佣金奖励：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[money_is_open]" value="0" <?php  if($settings['money_is_open'] == 0 || !$settings['money_is_open']) { ?>checked="true"<?php  } ?> /> 启用</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[money_is_open]" value="1" <?php  if($settings['money_is_open'] == 1) { ?>checked="true"<?php  } ?> /> 不启用</label>
						</div>
					</div>
				</div>
				<div class="panel-heading">总佣金比例设置</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团总佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[meituan_yjrate]" class="form-control" placeholder="" value="<?php  if($settings['meituan_yjrate']) { ?><?php  echo $settings['meituan_yjrate'];?><?php  } else { ?>85<?php  } ?>" />
						  <span class="help-block" style="color:red;">*用户总可分的总佣金比例，填百分比数字，默认为85；例如美团总佣金为10元，填85，即表示10*85%=8.5元为拿出来给用户分的佣金。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">饿了么/淘宝总佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[elm_yjrate]" class="form-control" placeholder="" value="<?php  if($settings['elm_yjrate']) { ?><?php  echo $settings['elm_yjrate'];?><?php  } else { ?>85<?php  } ?>" />
						  <span class="help-block" style="color:red;">*用户总可分的总佣金比例，填百分比数字，默认为85；例如饿了么总佣金为10元，填85，即表示10*85%=8.5元为拿出来给用户分的佣金。请考虑淘宝联盟需要扣10%的技术服务费及个人/企业所得税后，计算出该比例</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">电影票总佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[movie_yjrate]" class="form-control" placeholder="" value="<?php  if($settings['movie_yjrate']) { ?><?php  echo $settings['movie_yjrate'];?><?php  } else { ?>85<?php  } ?>" />
						  <span class="help-block" style="color:red;">*用户总可分的总佣金比例，填百分比数字，默认为85；例如电影票总佣金为10元，填85，即表示10*85%=8.5元为拿出来给用户分的佣金。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">京东总佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[mall_jd_yjrate]" class="form-control" placeholder="" value="<?php  if($settings['mall_jd_yjrate']) { ?><?php  echo $settings['mall_jd_yjrate'];?><?php  } else { ?>85<?php  } ?>" />
						  <span class="help-block" style="color:red;">*用户总可分的总佣金比例，填百分比数字，默认为85；例如商品总佣金为10元，填85，即表示10*85%=8.5元为拿出来给用户分的佣金。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">拼多多总佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[mall_pdd_yjrate]" class="form-control" placeholder="" value="<?php  if($settings['mall_pdd_yjrate']) { ?><?php  echo $settings['mall_pdd_yjrate'];?><?php  } else { ?>85<?php  } ?>" />
						  <span class="help-block" style="color:red;">*用户总可分的总佣金比例，填百分比数字，默认为85；例如商品总佣金为10元，填85，即表示10*85%=8.5元为拿出来给用户分的佣金。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">唯品会总佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[mall_wph_yjrate]" class="form-control" placeholder="" value="<?php  if($settings['mall_wph_yjrate']) { ?><?php  echo $settings['mall_wph_yjrate'];?><?php  } else { ?>85<?php  } ?>" />
						  <span class="help-block" style="color:red;">*用户总可分的总佣金比例，填百分比数字，默认为85；例如商品总佣金为10元，填85，即表示10*85%=8.5元为拿出来给用户分的佣金。</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">聚推客联盟总佣金比例设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">总佣金比例设置</label>
						<div class="col-sm-9 col-xs-12">
							<div class="input-group">
								<div class="input-group-addon">饿了么：</div>
								<input type="text" name="data[jutuike_elm_yjrate]" class="form-control" placeholder="" value="<?php  if($settings['jutuike_elm_yjrate']) { ?><?php  echo $settings['jutuike_elm_yjrate'];?><?php  } else { ?><?php  if($settings['elm_yjrate']) { ?><?php  echo $settings['elm_yjrate'];?><?php  } else { ?>85<?php  } ?><?php  } ?>" class="form-control" />
								<div class="input-group-addon">美团：</div>
								<input type="text" name="data[jutuike_meituan_yjrate]" class="form-control" placeholder="" value="<?php  if($settings['jutuike_meituan_yjrate']) { ?><?php  echo $settings['jutuike_meituan_yjrate'];?><?php  } else { ?>85<?php  } ?>" class="form-control" />
								<div class="input-group-addon">电影票：</div>
								<input type="text" name="data[jutuike_movie_yjrate]" class="form-control" placeholder="" value="<?php  if($settings['jutuike_movie_yjrate']) { ?><?php  echo $settings['jutuike_movie_yjrate'];?><?php  } else { ?>85<?php  } ?>" class="form-control" />
								<div class="input-group-addon">京东：</div>
								<input type="text" name="data[jutuike_mall_jd_yjrate]" class="form-control" placeholder="" value="<?php  if($settings['jutuike_mall_jd_yjrate']) { ?><?php  echo $settings['jutuike_mall_jd_yjrate'];?><?php  } else { ?>85<?php  } ?>" class="form-control" />
								<div class="input-group-addon">拼多多：</div>
								<input type="text" name="data[jutuike_mall_pdd_yjrate]" class="form-control" placeholder="" value="<?php  if($settings['jutuike_mall_pdd_yjrate']) { ?><?php  echo $settings['jutuike_mall_pdd_yjrate'];?><?php  } else { ?>85<?php  } ?>" class="form-control" />
								<div class="input-group-addon">肯德基：</div>
								<input type="text" name="data[jutuike_kfc_yjrate]" class="form-control" placeholder="" value="<?php  if($settings['jutuike_kfc_yjrate']) { ?><?php  echo $settings['jutuike_kfc_yjrate'];?><?php  } else { ?>85<?php  } ?>" class="form-control" />
							</div>
							<div class="input-group">
								<div class="input-group-addon">麦当劳：</div>
								<input type="text" name="data[jutuike_mc_yjrate]" class="form-control" placeholder="" value="<?php  if($settings['jutuike_mc_yjrate']) { ?><?php  echo $settings['jutuike_mc_yjrate'];?><?php  } else { ?>85<?php  } ?>" class="form-control" />
								<div class="input-group-addon">百果园：</div>
								<input type="text" name="data[jutuike_bgy_yjrate]" class="form-control" placeholder="" value="<?php  if($settings['jutuike_bgy_yjrate']) { ?><?php  echo $settings['jutuike_bgy_yjrate'];?><?php  } else { ?>85<?php  } ?>" class="form-control" />
								<div class="input-group-addon">奈雪的茶：</div>
								<input type="text" name="data[jutuike_nxdc_yjrate]" class="form-control" placeholder="" value="<?php  if($settings['jutuike_nxdc_yjrate']) { ?><?php  echo $settings['jutuike_nxdc_yjrate'];?><?php  } else { ?>85<?php  } ?>" class="form-control" />
								<div class="input-group-addon">瑞幸咖啡：</div>
								<input type="text" name="data[jutuike_rxkf_yjrate]" class="form-control" placeholder="" value="<?php  if($settings['jutuike_rxkf_yjrate']) { ?><?php  echo $settings['jutuike_rxkf_yjrate'];?><?php  } else { ?>85<?php  } ?>" class="form-control" />
								<div class="input-group-addon">星巴克：</div>
								<input type="text" name="data[jutuike_xbk_yjrate]" class="form-control" placeholder="" value="<?php  if($settings['jutuike_xbk_yjrate']) { ?><?php  echo $settings['jutuike_xbk_yjrate'];?><?php  } else { ?>85<?php  } ?>" class="form-control" />
								<div class="input-group-addon">其他CPS：</div>
								<input type="text" name="data[jutuike_huafei_yjrate]" class="form-control" placeholder="" value="<?php  if($settings['jutuike_huafei_yjrate']) { ?><?php  echo $settings['jutuike_huafei_yjrate'];?><?php  } else { ?>85<?php  } ?>" class="form-control" />
							</div>
							<span class="help-block" style="color:red;">*用户总可分的总佣金比例，填百分比数字，默认为85；例如饿了么总佣金为10元，填85，即表示10*85%=8.5元为拿出来给用户分的佣金。</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">普通会员佣金设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">自推/自买佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[c_1]" class="form-control" placeholder="" value="<?php  if($settings['c_1']) { ?><?php  echo $settings['c_1'];?><?php  } else { ?>0<?php  } ?>" />
						  <span class="help-block" style="color:red;">*填数字，不需要输入%</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">直推佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[c_2]" class="form-control" placeholder="" value="<?php  if($settings['c_2']) { ?><?php  echo $settings['c_2'];?><?php  } else { ?>0<?php  } ?>" />
						  <span class="help-block" style="color:red;">*填数字，不需要输入%，A发展B，B自买，A得到的佣金比例</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">间推佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[c_3]" class="form-control" placeholder="" value="<?php  if($settings['c_3']) { ?><?php  echo $settings['c_3'];?><?php  } else { ?>0<?php  } ?>" />
						  <span class="help-block" style="color:red;">*填数字，不需要输入%，A发展B，B发展C，C自买，A得到的佣金比例</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">团长佣金设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">自推/自买佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[c_t_1]" class="form-control" placeholder="" value="<?php  if($settings['c_t_1']) { ?><?php  echo $settings['c_t_1'];?><?php  } else { ?>0<?php  } ?>" />
						  <span class="help-block" style="color:red;">*填数字，不需要输入%</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">直推佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[c_t_2]" class="form-control" placeholder="" value="<?php  if($settings['c_t_2']) { ?><?php  echo $settings['c_t_2'];?><?php  } else { ?>0<?php  } ?>" />
						  <span class="help-block" style="color:red;">*填数字，不需要输入%，A团长发展B普通会员，B自买，A团长得到的佣金比例</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">非直推佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[c_t]" class="form-control" placeholder="" value="<?php  if($settings['c_t']) { ?><?php  echo $settings['c_t'];?><?php  } else { ?>0<?php  } ?>" />
						  <span class="help-block" style="color:red;">*填数字，不需要输入%，非直推：除直推外整个团队下面的普通会员</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">团队最近一个团长团队佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[c_2t]" class="form-control" placeholder="" value="<?php  if($settings['c_2t']) { ?><?php  echo $settings['c_2t'];?><?php  } else { ?>0<?php  } ?>" />
						  <span class="help-block" style="color:red;">*填数字，不需要输入%</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">合伙人佣金设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">自推/自买佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[c_h_1]" class="form-control" placeholder="" value="<?php  if($settings['c_h_1']) { ?><?php  echo $settings['c_h_1'];?><?php  } else { ?>0<?php  } ?>" />
						  <span class="help-block" style="color:red;">*填数字，不需要输入%</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">直推佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[c_h_2]" class="form-control" placeholder="" value="<?php  if($settings['c_h_2']) { ?><?php  echo $settings['c_h_2'];?><?php  } else { ?>0<?php  } ?>" />
						  <span class="help-block" style="color:red;">*填数字，不需要输入%，A发展B，B自买，A得到的佣金比例</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">非直推佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[c_h_3]" class="form-control" placeholder="" value="<?php  if($settings['c_h_3']) { ?><?php  echo $settings['c_h_3'];?><?php  } else { ?>0<?php  } ?>" />
						  <span class="help-block" style="color:red;">*填数字，不需要输入%，非直推：除直推外整个团队下面的普通会员</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">直属团长团队佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[c_1h]" class="form-control" placeholder="" value="<?php  if($settings['c_1h']) { ?><?php  echo $settings['c_1h'];?><?php  } else { ?>0<?php  } ?>" />
						  <span class="help-block" style="color:red;">*填数字，不需要输入%</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">间属团长团队佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[c_2h]" class="form-control" placeholder="" value="<?php  if($settings['c_2h']) { ?><?php  echo $settings['c_2h'];?><?php  } else { ?>0<?php  } ?>" />
						  <span class="help-block" style="color:red;">*填数字，不需要输入%</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">直属合伙人团队佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[c_3h]" class="form-control" placeholder="" value="<?php  if($settings['c_3h']) { ?><?php  echo $settings['c_3h'];?><?php  } else { ?>0<?php  } ?>" />
						  <span class="help-block" style="color:red;">*填数字，不需要输入%</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">间属合伙人团队佣金比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[c_4h]" class="form-control" placeholder="" value="<?php  if($settings['c_4h']) { ?><?php  echo $settings['c_4h'];?><?php  } else { ?>0<?php  } ?>" />
						  <span class="help-block" style="color:red;">*填数字，不需要输入%</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">等级名称设置</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">普通会员自定义名称</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[member_name]" class="form-control" placeholder="" value="<?php  if($settings['member_name']) { ?><?php  echo $settings['member_name'];?><?php  } else { ?>普通会员<?php  } ?>" />
						  <span class="help-block" style="color:red;">*普通会员自定义名称，默认为普通会员</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">团长自定义名称</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[tuan_name]" class="form-control" placeholder="" value="<?php  if($settings['tuan_name']) { ?><?php  echo $settings['tuan_name'];?><?php  } else { ?>团长<?php  } ?>" />
						  <span class="help-block" style="color:red;">*团长自定义名称，默认为团长</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">合伙人自定义名称</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[he_name]" class="form-control" placeholder="" value="<?php  if($settings['he_name']) { ?><?php  echo $settings['he_name'];?><?php  } else { ?>合伙人<?php  } ?>" />
						  <span class="help-block" style="color:red;">*合伙人自定义名称，默认为团长</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">美团预估佣金比例设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团预估佣金比例设置</label>
						<div class="col-sm-9 col-xs-12">
							<div class="input-group">
								<div class="input-group-addon">外卖：</div>
								<input type="text" name="data[meituan_wm_yugu]" class="form-control" placeholder="" value="<?php  if($settings['meituan_wm_yugu']) { ?><?php  echo $settings['meituan_wm_yugu'];?><?php  } else { ?>3<?php  } ?>" class="form-control" />
								<div class="input-group-addon">%，优选：</div>
								<input type="text" name="data[meituan_yx_yugu]" class="form-control" placeholder="" value="<?php  if($settings['meituan_yx_yugu']) { ?><?php  echo $settings['meituan_yx_yugu'];?><?php  } else { ?>3<?php  } ?>" class="form-control" />
								<div class="input-group-addon">%，闪购：</div>
								<input type="text" name="data[meituan_sg_yugu]" class="form-control" placeholder="" value="<?php  if($settings['meituan_sg_yugu']) { ?><?php  echo $settings['meituan_sg_yugu'];?><?php  } else { ?>2<?php  } ?>" class="form-control" />
								<div class="input-group-addon">%，酒店：</div>
								<input type="text" name="data[meituan_jd_yugu]" class="form-control" placeholder="" value="<?php  if($settings['meituan_jd_yugu']) { ?><?php  echo $settings['meituan_jd_yugu'];?><?php  } else { ?>5<?php  } ?>" class="form-control" />
								<div class="input-group-addon">%</div>
							</div>
							<span class="help-block" style="color:red;">*美团订单完成之前不会显示佣金，如果想获取订单时提前预估佣金，请设置预估总佣金比例，只填写数字，不写%号</span>
						</div>
					</div>
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="cash" style="display:<?php  if($_W['role']!='founder') { ?><?php  } else { ?><?php  } ?>;">
			    <div class="panel-heading" style="color:red;">***除下方选择的实时结算平台外，其他平台为月结，即这个月结算上个月的佣金发放到用户余额，如有需要请去后台订单管理手动发放佣金；</div>
			    <div class="panel-heading">实时结算设置（发放佣金到用户余额，只对实时结算计划任务有效）</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">支持实时结算平台设置：</label>
						<div class="col-sm-8">
						<?php 
						if(!$settings['order_settlement_now_pingtai']){
						    $settings['order_settlement_now_pingtai'] = ["美团外卖","美团闪购","美团团购","美团酒店","美团优选","饿了么","电影票","肯德基","麦当劳","百果园","奈雪的茶","瑞幸咖啡","星巴克","其他"];
						}
						?>
							<input type="checkbox" name="data[order_settlement_now_pingtai][]" <?php  if(in_array('美团外卖',$settings['order_settlement_now_pingtai']) || !$settings['order_settlement_now_pingtai']) { ?>checked<?php  } ?> value="美团外卖"><label>美团外卖</label>
							<input type="checkbox" name="data[order_settlement_now_pingtai][]" <?php  if(in_array('美团闪购',$settings['order_settlement_now_pingtai']) || !$settings['order_settlement_now_pingtai']) { ?>checked<?php  } ?> value="美团闪购"><label>美团闪购</label>
							<input type="checkbox" name="data[order_settlement_now_pingtai][]" <?php  if(in_array('美团团购',$settings['order_settlement_now_pingtai']) || !$settings['order_settlement_now_pingtai']) { ?>checked<?php  } ?> value="美团团购"><label>美团团购</label>
							<input type="checkbox" name="data[order_settlement_now_pingtai][]" <?php  if(in_array('美团酒店',$settings['order_settlement_now_pingtai']) || !$settings['order_settlement_now_pingtai']) { ?>checked<?php  } ?> value="美团酒店"><label>美团酒店</label>
							<input type="checkbox" name="data[order_settlement_now_pingtai][]" <?php  if(in_array('美团优选',$settings['order_settlement_now_pingtai']) || !$settings['order_settlement_now_pingtai']) { ?>checked<?php  } ?> value="美团优选"><label>美团优选</label>
							<input type="checkbox" name="data[order_settlement_now_pingtai][]" <?php  if(in_array('饿了么',$settings['order_settlement_now_pingtai']) || !$settings['order_settlement_now_pingtai']) { ?>checked<?php  } ?> value="饿了么"><label>饿了么</label>
							<input type="checkbox" name="data[order_settlement_now_pingtai][]" <?php  if(in_array('电影票',$settings['order_settlement_now_pingtai']) || !$settings['order_settlement_now_pingtai']) { ?>checked<?php  } ?> value="电影票"><label>电影票</label>
							<input type="checkbox" name="data[order_settlement_now_pingtai][]" <?php  if(in_array('肯德基',$settings['order_settlement_now_pingtai']) || !$settings['order_settlement_now_pingtai']) { ?>checked<?php  } ?> value="肯德基"><label>肯德基</label>
							<input type="checkbox" name="data[order_settlement_now_pingtai][]" <?php  if(in_array('麦当劳',$settings['order_settlement_now_pingtai']) || !$settings['order_settlement_now_pingtai']) { ?>checked<?php  } ?> value="麦当劳"><label>麦当劳</label>
							<input type="checkbox" name="data[order_settlement_now_pingtai][]" <?php  if(in_array('京东',$settings['order_settlement_now_pingtai'])) { ?>checked<?php  } ?> value="京东"><label>京东</label>
							<input type="checkbox" name="data[order_settlement_now_pingtai][]" <?php  if(in_array('拼多多',$settings['order_settlement_now_pingtai'])) { ?>checked<?php  } ?> value="拼多多"><label>拼多多</label>
							<input type="checkbox" name="data[order_settlement_now_pingtai][]" <?php  if(in_array('唯品会',$settings['order_settlement_now_pingtai'])) { ?>checked<?php  } ?> value="唯品会"><label>唯品会</label>
							<input type="checkbox" name="data[order_settlement_now_pingtai][]" <?php  if(in_array('淘宝',$settings['order_settlement_now_pingtai'])) { ?>checked<?php  } ?> value="淘宝"><label>淘宝</label>
							<input type="checkbox" name="data[order_settlement_now_pingtai][]" <?php  if(in_array('天猫',$settings['order_settlement_now_pingtai'])) { ?>checked<?php  } ?> value="天猫"><label>天猫</label>
							<input type="checkbox" name="data[order_settlement_now_pingtai][]" <?php  if(in_array('百果园',$settings['order_settlement_now_pingtai']) || !$settings['order_settlement_now_pingtai']) { ?>checked<?php  } ?> value="百果园"><label>百果园</label>
							<input type="checkbox" name="data[order_settlement_now_pingtai][]" <?php  if(in_array('奈雪的茶',$settings['order_settlement_now_pingtai']) || !$settings['order_settlement_now_pingtai']) { ?>checked<?php  } ?> value="奈雪的茶"><label>奈雪的茶</label>
							<input type="checkbox" name="data[order_settlement_now_pingtai][]" <?php  if(in_array('瑞幸咖啡',$settings['order_settlement_now_pingtai']) || !$settings['order_settlement_now_pingtai']) { ?>checked<?php  } ?> value="瑞幸咖啡"><label>瑞幸咖啡</label>
							<input type="checkbox" name="data[order_settlement_now_pingtai][]" <?php  if(in_array('星巴克',$settings['order_settlement_now_pingtai']) || !$settings['order_settlement_now_pingtai']) { ?>checked<?php  } ?> value="星巴克"><label>星巴克</label>
							<input type="checkbox" name="data[order_settlement_now_pingtai][]" <?php  if(in_array('其他',$settings['order_settlement_now_pingtai']) || !$settings['order_settlement_now_pingtai']) { ?>checked<?php  } ?> value="其他"><label>其他</label>
						</div>
					</div>
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">订单完成后多少小时结算</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[order_settlement_hour]" class="form-control" placeholder="" value="<?php  if($settings['order_settlement_hour']) { ?><?php  echo $settings['order_settlement_hour'];?><?php  } else { ?>0<?php  } ?>" />
						  <span class="help-block" style="color:red;">*1、填写数字，默认为0马上结算；</span>
						  <span class="help-block" style="color:red;">*2、如需实时结算佣金到用户余额，请去获取实时结算计划任务url添加到宝塔计划任务执行；</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">提现设置</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">提现方式：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[pay_type]" value="0" <?php  if($settings['pay_type'] == 0) { ?>checked="true"<?php  } ?> /> 微信企业付款到零钱</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[pay_type]" value="1" <?php  if($settings['pay_type'] == 1) { ?>checked="true"<?php  } ?> /> 支付宝</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[pay_type]" value="2" <?php  if($settings['pay_type'] == 2) { ?>checked="true"<?php  } ?> /> 微信收款码</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">提现规则：</label>
						<div class="col-sm-10 col-xs-12">
							<textarea class="form-control" name="data[withdraw_rule]" placeholder="请输入提现规则"><?php  echo $settings['withdraw_rule'];?></textarea>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">到账时间提示</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[cash_dzsj]" class="form-control" placeholder="" value="<?php  if($settings['cash_dzsj']) { ?><?php  echo $settings['cash_dzsj'];?><?php  } else { ?>24小时内到账<?php  } ?>" />
						  <span class="help-block" style="color:red;">*提现页面到账时间提示，默认为：24小时内到账</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">满多少金额才能提现</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[cash_min]" class="form-control" placeholder="" value="<?php  echo $settings['cash_min'];?>" />
						  <span class="help-block" style="color:red;">*填数字</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">提现免审：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[cash_nocheck]" value="1" <?php  if($settings['cash_nocheck'] == 1) { ?>checked="true"<?php  } ?> /> 开通</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[cash_nocheck]" value="0" <?php  if($settings['cash_nocheck'] == 0) { ?>checked="true"<?php  } ?> /> 关闭</label>
							<span class="help-block" style="color:red;">*开启后用户提现将立即支付。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">提现免审金额</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[cash_nocheck_mini]" class="form-control" placeholder="" value="<?php  echo $settings['cash_nocheck_mini'];?>" />
						  <span class="help-block" style="color:red;">*填数字,低于这个金额的才能免审自动提现。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">微信企业付款到零钱备注信息</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[cash_in_desc]" class="form-control" placeholder="" value="<?php  if($settings['cash_in_desc']) { ?><?php  echo $settings['cash_in_desc'];?><?php  } else { ?>外卖返现<?php  } ?>" />
						  <span class="help-block" style="color:red;">*微信企业付款到零钱备注信息，默认为：外卖返现</span>
						</div>
					</div>

					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">每天提现次数限制</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[cash_daylimit]" class="form-control" placeholder="" value="<?php  echo $settings['cash_daylimit'];?>" />
						  <span class="help-block" style="color:red;">*填数字，不填不限制次数</span>
						</div>
					</div>
					
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="gzh" style="display:<?php  if($_W['role']!='founder') { ?><?php  } else { ?><?php  } ?>;">
				<div class="panel-heading">主公众号设置</div>
				<div class="panel-heading" style="color:red;">***新版本已下架公众号点餐提醒模板消息群发功能，如有群发需求，请去使用免费的功能更强大的快站的公众号群发功能，快站公众号教程文档：<a href="https://www.yuque.com/kuaizhan_help/weixinnormal/pwsr16" targrt="_blank">https://www.yuque.com/kuaizhan_help/weixinnormal/pwsr16</a></div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">联营公众号uniacid</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[gzh_id]" class="form-control" placeholder="" value="<?php  echo $settings['gzh_id'];?>" />
						  <span class="help-block" style="color:red;">*填公众号的微擎uniacid，须与小程序相同主体且关联绑定。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">联营公众号appid</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[gzh_appid]" class="form-control" placeholder="" value="<?php  echo $settings['gzh_appid'];?>" />
						  <span class="help-block" style="color:red;">*填公众号的appid，须与小程序相同主体且关联绑定。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">联营公众号新用户通知模板消息ID</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[gzh_newuser_tplid]" class="form-control" placeholder="" value="<?php  echo $settings['gzh_newuser_tplid'];?>" />
						  <span class="help-block" style="color:red;">*新用户模板消息通知上级：IT科技 - 互联网|电子商务 》 客户到访通知 》OPENTM406401445</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">联营公众号订单通知模板消息ID</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[gzh_neworder_tplid]" class="form-control" placeholder="" value="<?php  echo $settings['gzh_neworder_tplid'];?>" />
						  <span class="help-block" style="color:red;">*新订单模板消息通知上级：IT科技 - 互联网|电子商务 》 新订单提醒 》 OPENTM406438518</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">联营公众号积分订单发货通知模板消息ID</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[gzh_itemfahuo_tplid]" class="form-control" placeholder="" value="<?php  echo $settings['gzh_itemfahuo_tplid'];?>" />
						  <span class="help-block" style="color:red;">*积分订单发货通知模板消息：IT科技 - 互联网|电子商务 》 订单发货通知 》 OPENTM418033200</span>
						</div>
					</div>
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="myTab3" style="display:<?php  if($_W['role']!='founder') { ?><?php  } else { ?><?php  } ?>;">
				<div class="panel-heading">美团API通道设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团API通道：</label>
						<div class="col-sm-9 col-xs-12">
						    <label class="radio-inline"><input type="radio" name="data[meituan_api_type]" value="4" <?php  if($settings['meituan_api_type'] == 4) { ?>checked="true"<?php  } ?> /> 聚推客联盟</label>
							&nbsp;&nbsp;&nbsp;
						    <label class="radio-inline"><input type="radio" name="data[meituan_api_type]" value="1" <?php  if($settings['meituan_api_type'] == 1) { ?>checked="true"<?php  } ?> /> 美团联盟（官方）</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[meituan_api_type]" value="2" <?php  if($settings['meituan_api_type'] == 2) { ?>checked="true"<?php  } ?> /> 美团分销联盟（官方）</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[meituan_api_type]" value="0" <?php  if($settings['meituan_api_type'] == 0) { ?>checked="true"<?php  } ?> /> 订单侠</label>
							<span class="help-block" style="color:blue;">*聚推客联盟：<a href="https://www.jutuike.com/">https://www.jutuike.com/</a>，<a style="color:red;">个人、商企均可对接，不强制要求开发票</a>，支持美团外卖、美团闪购、美团优选、美团团购、美团酒店、拼多多（仅限频道推广，V3等级最高佣金）、京东（仅限双佣金商品）、肯德基&麦当劳（H5）、电影票（H5）；（H5需要使用客服消息回复获取链接）</span>
							<span class="help-block" style="color:green;">*美团联盟（官方）：<a href="https://union.meituan.com/">https://union.meituan.com/</a>，支持美团外卖、美团闪购、美团优选，限商企申请，需要对公账户及开票；</span>
							<span class="help-block" style="color:orange;">*美团分销联盟（官方）：<a href="https://pub.meituan.com/">https://pub.meituan.com/</a>，支持美团外卖、美团闪购、美团团购、美团酒店，限商企申请，需要对公账户及开票；</span>
							<span class="help-block" style="color:DarkGray;">*订单侠：已升级为聚推客</span>
							<span class="help-block" style="color:red;">*特别说明：以上API通道自行选择使用，与开发者无关联。</span>
							
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团优选API通道：</label>
						<div class="col-sm-9 col-xs-12">
						    <label class="radio-inline"><input type="radio" name="data[meituan_yxapi_type]" value="2" <?php  if($settings['meituan_yxapi_type'] == 2) { ?>checked="true"<?php  } ?> /> 聚推客联盟</label>
							&nbsp;&nbsp;&nbsp;
						    <label class="radio-inline"><input type="radio" name="data[meituan_yxapi_type]" value="0" <?php  if($settings['meituan_yxapi_type'] == 0) { ?>checked="true"<?php  } ?> /> 美团联盟（官方）</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[meituan_yxapi_type]" value="1" <?php  if($settings['meituan_yxapi_type'] == 1) { ?>checked="true"<?php  } ?> /> 订单侠</label>
							<span class="help-block" style="color:red;">*如果美团API通道使用了美团分销联盟（官方），请选择美团优选API通道</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">聚推客联盟api设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">聚推客联盟身份ID pub_id</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[jutuikepub_id]" class="form-control" placeholder="" value="<?php  echo $settings['jutuikepub_id'];?>" />
						  <span class="help-block" style="color:red;">*去聚推客联盟<a href="https://www.jutuike.com/">https://www.jutuike.com/</a>注册账号，然后到个人中心-开发管理-接口管理获取身份ID pub_id。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">聚推客联盟apikey秘钥</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[jutuikeapikey]" class="form-control" placeholder="" value="<?php  echo $settings['jutuikeapikey'];?>" />
						  <span class="help-block" style="color:red;">*去聚推客联盟<a href="https://www.jutuike.com/">https://www.jutuike.com/</a>注册账号，然后到个人中心-开发管理-接口管理获取接口秘钥apikey。</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">美团联盟官方api设置</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团联盟api秘钥</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[meituanapikey]" class="form-control" placeholder="" value="<?php  echo $settings['meituanapikey'];?>" />
						  <span class="help-block" style="color:red;">*去美团联盟https://union.meituan.com/注册账号，获取api秘钥。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团联盟媒体Appkey</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[meituanappkey]" class="form-control" placeholder="" value="<?php  echo $settings['meituanappkey'];?>" />
						  <span class="help-block" style="color:red;">*美团联盟媒体管理——新增媒体，获取媒体appkey。</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">订单侠api设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">订单侠apikey</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[ddxapikey]" class="form-control" placeholder="" value="<?php  echo $settings['ddxapikey'];?>" />
						  <span class="help-block" style="color:red;">*去订单侠网站注册账号，获取apikey。</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">美团联盟设置（美团联盟官方、折淘客、订单侠适用）</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团联盟外卖红包活动ID</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[meituan_waimai_h5_url]" class="form-control" placeholder="" value="<?php  if($settings['meituan_waimai_h5_url']) { ?><?php  echo $settings['meituan_waimai_h5_url'];?><?php  } else { ?>2<?php  } ?>" />
						  <span class="help-block" style="color:red;">*非特殊情况不要修改，默认为2</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团联盟闪购红包活动ID</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[meituan_sc_h5_url]" class="form-control" placeholder="" value="<?php  if($settings['meituan_sc_h5_url']) { ?><?php  echo $settings['meituan_sc_h5_url'];?><?php  } else { ?>4<?php  } ?>" />
						  <span class="help-block" style="color:red;">*非特殊情况不要修改，默认为4</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团联盟优选红包活动ID</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[meituan_yx_h5_url]" class="form-control" placeholder="" value="<?php  if($settings['meituan_yx_h5_url']) { ?><?php  echo $settings['meituan_yx_h5_url'];?><?php  } else { ?>22<?php  } ?>" />
						  <span class="help-block" style="color:red;">*非特殊情况不要修改，默认为22</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否打开美团二维码图片：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[mtpic]" value="1" <?php  if($settings['mtpic'] == 1) { ?>checked="true"<?php  } ?> /> 打开</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[mtpic]" value="0" <?php  if($settings['mtpic'] == 0 || !$settings['mtpic']) { ?>checked="true"<?php  } ?> /> 不打开</label>
							<span class="help-block" style="color:red;">*应对美团小程序跳转被封的情况</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">美团分销联盟API设置</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团分销联盟AppKey</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[meituangroup_AppKey]" class="form-control" placeholder="" value="<?php  echo $settings['meituangroup_AppKey'];?>" />
						  <span class="help-block" style="color:red;">*去美团分销联盟https://pub.meituan.com/注册账号，获取AppKey。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团分销联盟utmSource</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[meituangroup_utmSource]" class="form-control" placeholder="" value="<?php  echo $settings['meituangroup_utmSource'];?>" />
						  <span class="help-block" style="color:red;">*去美团分销联盟https://pub.meituan.com/注册账号，获取utmSource。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团分销联盟吃喝玩乐活动ID</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[meituangroup_chwl_activity]" class="form-control" placeholder="" value="<?php  echo $settings['meituangroup_chwl_activity'];?>" />
						  <span class="help-block" style="color:red;">*美团分销联盟吃喝玩乐活动ID。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团分销联盟酒店活动ID</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[meituangroup_hotel_activity]" class="form-control" placeholder="" value="<?php  echo $settings['meituangroup_hotel_activity'];?>" />
						  <span class="help-block" style="color:red;">*美团分销联盟酒店活动ID。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团分销联盟外卖活动ID</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[meituangroup_waimai_activity]" class="form-control" placeholder="" value="<?php  echo $settings['meituangroup_waimai_activity'];?>" />
						  <span class="help-block" style="color:red;">*美团分销联盟外卖活动ID。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团分销联盟闪购活动ID</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[meituangroup_sc_activity]" class="form-control" placeholder="" value="<?php  echo $settings['meituangroup_sc_activity'];?>" />
						  <span class="help-block" style="color:red;">*美团分销联盟闪购活动ID。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团分销联盟推广位ID</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[meituangroup_pid]" class="form-control" placeholder="" value="<?php  echo $settings['meituangroup_pid'];?>" />
						  <span class="help-block" style="color:red;">*美团分销联盟推广位ID。</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否使用新推广链接：</label>
						<div class="col-sm-9 col-xs-12">
							<!--<label class="radio-inline"><input type="radio" name="data[meituangroup_newurl]" value="1" <?php  if($settings['meituangroup_newurl'] == 1) { ?>checked="true"<?php  } ?> /> 使用</label>
							&nbsp;&nbsp;&nbsp;-->
							<label class="radio-inline"><input type="radio" name="data[meituangroup_newurl]" value="0" checked="true" /> 不使用</label>
							<span class="help-block" style="color:red;">*若美团旧推广链接无法使用时，请切换使用新推广链接。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">吃喝玩乐是否开启底部导航：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[meituangroup_tabbar]" value="1" <?php  if($settings['meituangroup_tabbar'] == 1) { ?>checked="true"<?php  } ?> /> 开启</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[meituangroup_tabbar]" value="0" <?php  if($settings['meituangroup_tabbar'] == 0) { ?>checked="true"<?php  } ?> /> 关闭</label>
						</div>
					</div>
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="credit" style="display:<?php  if($_W['role']!='founder') { ?><?php  } else { ?><?php  } ?>;">
			    <div class="panel-heading">积分开关</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否启用积分奖励：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[credit_is_open]" value="0" <?php  if($settings['credit_is_open'] == 0 || !$settings['credit_is_open']) { ?>checked="true"<?php  } ?> /> 启用</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[credit_is_open]" value="1" <?php  if($settings['credit_is_open'] == 1) { ?>checked="true"<?php  } ?> /> 不启用</label>
						</div>
					</div>
				</div>
				<div class="panel-heading">积分设置</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">积分图标：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[credit_icon]', $settings['credit_icon'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*小尺寸图标，如不上传则使用默认图标</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">积分奖励设置（<span style="color:red;">注意：积分分销体系跟佣金一样，分销比例使用佣金分销比例设置</span>）</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">按订单佣金奖励积分比例设置</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[credit_order_rate]" class="form-control" placeholder="" value="<?php  if($settings['credit_order_rate']) { ?><?php  echo $settings['credit_order_rate'];?><?php  } else { ?>0<?php  } ?>" />
						  <span class="help-block" style="color:red;">*填写数字，例如设置为100，即表示订单佣金1元，奖励积分100。</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">积分兑换设置</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">余额兑换积分比例</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[credit_money_rate]" class="form-control" placeholder="" value="<?php  if($settings['credit_money_rate']) { ?><?php  echo $settings['credit_money_rate'];?><?php  } else { ?>0<?php  } ?>" />
						  <span class="help-block" style="color:red;">*填写数字，例如设置为100，即表示余额1元可兑换100积分。为0则不能兑换。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">余额兑换积分规则：</label>
						<div class="col-sm-10 col-xs-12">
							<textarea rows="5" class="form-control" name="data[withdrawtocredit_rule]" placeholder="请输入提现规则"><?php  echo $settings['withdrawtocredit_rule'];?></textarea>
						</div>
					</div>
				    
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="tabbar" style="display:<?php  if($_W['role']!='founder') { ?><?php  } else { ?><?php  } ?>;">
				<div class="panel-heading">底部导航设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">未选中颜色</label>
						<div class="col-sm-4">
						    <?php  if($settings['tabbar_color']) { ?>
								<?php  echo tpl_form_field_color('data[tabbar_color]',$settings['tabbar_color'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[tabbar_color]','#aaaaaa')?>
							<?php  } ?>
						  <span class="help-block" style="color:red;">*导航文字未选中时的颜色，默认#aaaaaa。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">选中颜色</label>
						<div class="col-sm-4">
						    <?php  if($settings['tabbar_selectedColor']) { ?>
								<?php  echo tpl_form_field_color('data[tabbar_selectedColor]',$settings['tabbar_selectedColor'])?>
							<?php  } else { ?>
								<?php  echo tpl_form_field_color('data[tabbar_selectedColor]','#e25947')?>
							<?php  } ?>
						  <span class="help-block" style="color:red;">*导航文字选中时的颜色，默认#e25947。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">字体大小</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[tabbar_fontSize]" class="form-control" placeholder="" value="<?php  if($settings['tabbar_fontSize']) { ?><?php  echo $settings['tabbar_fontSize'];?><?php  } else { ?>22<?php  } ?>" />
						  <span class="help-block" style="color:red;">*导航文字大小，默认22。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">图标宽度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[tabbar_iconWidth]" class="form-control" placeholder="" value="<?php  if($settings['tabbar_iconWidth']) { ?><?php  echo $settings['tabbar_iconWidth'];?><?php  } else { ?>44<?php  } ?>" />
						  <span class="help-block" style="color:red;">*图标宽度，默认44。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">图标高度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[tabbar_iconHight]" class="form-control" placeholder="" value="<?php  if($settings['tabbar_iconHight']) { ?><?php  echo $settings['tabbar_iconHight'];?><?php  } else { ?>44<?php  } ?>" />
						  <span class="help-block" style="color:red;">*图标高度，默认44。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">图标与文字间距</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[tabbar_intervalHight]" class="form-control" placeholder="" value="<?php  if($settings['tabbar_intervalHight']) { ?><?php  echo $settings['tabbar_intervalHight'];?><?php  } else { ?>8<?php  } ?>" />
						  <span class="help-block" style="color:red;">*图标与文字间距，默认8。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航栏高度</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[tabbar_tabBarHight]" class="form-control" placeholder="" value="<?php  if($settings['tabbar_tabBarHight']) { ?><?php  echo $settings['tabbar_tabBarHight'];?><?php  } else { ?>104<?php  } ?>" />
						  <span class="help-block" style="color:red;">*导航栏高度，默认104。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">导航栏阴影</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[tabbar_boxShadow]" class="form-control" placeholder="" value="<?php  if($settings['tabbar_boxShadow']) { ?><?php  echo $settings['tabbar_boxShadow'];?><?php  } else { ?>0 -1rpx 6rpx rgba(0, 0, 0, 0.1)<?php  } ?>" />
						  <span class="help-block" style="color:red;">*导航栏阴影，默认0 -1rpx 6rpx rgba(0, 0, 0, 0.1)。</span>
						</div>
					</div>
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="movie" style="display:<?php  if($_W['role']!='founder') { ?><?php  } else { ?><?php  } ?>;">
			    <div class="panel-heading">出票设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">出票方式：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="movie_ticket_type" value="0" <?php  if($settings['movie_ticket_type'] == 0 || !$settings['movie_ticket_type']) { ?>checked="true"<?php  } ?> /> 自动出票</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="movie_ticket_type" value="1" <?php  if($settings['movie_ticket_type'] == 1) { ?>checked="true"<?php  } ?> /> 手动出票</label>
							<span class="help-block" style="color:red;">*自动出票：走第三方接口出票，手动出票：自己去寻找票商出票，然后在后台上传出票信息，手动出票会将停售时间提前20分钟。</span>
						</div>
					</div>
					<div class="form-group" id="movie_ticket_adminopenid" <?php  if($settings['movie_ticket_type'] == 1) { ?><?php  } else { ?>style="display:none;"<?php  } ?>>
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">出票管理员小程序openid</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[movie_ticket_adminopenid]" class="form-control" placeholder="" value="<?php  echo $settings['movie_ticket_adminopenid'];?>" />
						  <span class="help-block" style="color:red;">*手动出票请填写，用于接收用户订单提醒，多个openid请用英文逗号分隔。</span>
						</div>
					</div>
					<div class="form-group" id="movie_tpl_xcxdaibaojia" <?php  if($settings['movie_ticket_type'] == 1) { ?><?php  } else { ?>style="display:none;"<?php  } ?>>
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">小程序待报价提醒订阅消息id</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[movie_tpl_xcxdaibaojia]" class="form-control" placeholder="" value="<?php  echo $settings['movie_tpl_xcxdaibaojia'];?>" />
						  <span class="help-block" style="color:red;">*手动出票请填写，用于通知管理员，请先添加生活服务-休闲娱乐类目，然后搜索：待报价提醒，依次选择：影城名称、影片名称、场次时间、备注。</span>
						</div>
					</div>
					<!--<div class="form-group" id="movie_tpl_xcxbaojiaupdate" <?php  if($settings['movie_ticket_type'] == 1) { ?><?php  } else { ?>style="display:none;"<?php  } ?>>
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">小程序影票报价更新提醒订阅消息id</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[movie_tpl_xcxbaojiaupdate]" class="form-control" placeholder="" value="<?php  echo $settings['movie_tpl_xcxbaojiaupdate'];?>" />
						  <span class="help-block" style="color:red;">*手动出票请填写，用于票商报价后通知平台，请先添加生活服务-休闲娱乐类目，然后搜索：影票报价更新提醒，依次选择：电影、报价金额、座次。</span>
						</div>
					</div>
					<div class="form-group" id="movie_tpl_xcjingjia" <?php  if($settings['movie_ticket_type'] == 1) { ?><?php  } else { ?>style="display:none;"<?php  } ?>>
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">小程序活动评选结束通知订阅消息id</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[movie_tpl_xcxjingjia]" class="form-control" placeholder="" value="<?php  echo $settings['movie_tpl_xcxjingjia'];?>" />
						  <span class="help-block" style="color:red;">*手动出票请填写，用于通知票商报价被接受，请先添加生活服务-休闲娱乐类目，然后搜索：活动评选结束通知，依次选择：活动名称、温馨提示。</span>
						</div>
					</div>-->
				</div>
				<div class="panel-heading">票价设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否允许破底价：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[movie_discountRule]" value="0" <?php  if($settings['movie_discountRule'] == 0) { ?>checked="true"<?php  } ?> /> 不允许</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[movie_discountRule]" value="1" <?php  if($settings['movie_discountRule'] == 1) { ?>checked="true"<?php  } ?> /> 允许</label>
							<span class="help-block" style="color:red;">*允许破底价，表示当电影票出票折扣高于设置的折扣时，仍然按设置的折扣让用户购票。不允许破底价，表示如果电影票出票折扣高于设置的折扣，则按出票折扣让用户购票。</span>
						</div>
					</div>
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">不同折扣基准市场价</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[movie_netprice]" class="form-control" placeholder="" value="<?php  if($settings['movie_netprice']) { ?><?php  echo $settings['movie_netprice'];?><?php  } else { ?>39<?php  } ?>" />
						  <span class="help-block" style="color:red;">*填数字：例如填写39，即表示可设置低于39元的折扣及高于39元的折扣。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">市场价<?php  if($settings['movie_netprice']) { ?><?php  echo $settings['movie_netprice'];?><?php  } else { ?>39<?php  } ?>元以下电影票价格折扣</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[movie_price]" class="form-control" placeholder="" value="<?php  if($settings['movie_price']) { ?><?php  echo $settings['movie_price'];?><?php  } else { ?>92<?php  } ?>" />
						  <span class="help-block" style="color:red;">*填百分比数字：例如填写92，即表示用户购票价格为市场价的92折。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">市场价<?php  if($settings['movie_netprice']) { ?><?php  echo $settings['movie_netprice'];?><?php  } else { ?>39<?php  } ?>元以上电影票价格折扣</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[movie_price1]" class="form-control" placeholder="" value="<?php  if($settings['movie_price1']) { ?><?php  echo $settings['movie_price1'];?><?php  } else { ?>92<?php  } ?>" />
						  <span class="help-block" style="color:red;">*填百分比数字：例如填写92，即表示用户购票价格为市场价的92折。</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">电影票API接口设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">API接口appKey</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[movie_api_s_appKey]" class="form-control" placeholder="" value="<?php  echo $settings['movie_api_s_appKey'];?>" />
						  <span class="help-block" style="color:red;">*API接口appKey。测试appKey：10000000000</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">API接口秘钥</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[movie_api_s_appSecret]" class="form-control" placeholder="" value="<?php  echo $settings['movie_api_s_appSecret'];?>" />
						  <span class="help-block" style="color:red;">*API接口秘钥。测试秘钥：25f9e794323b453885f5181f1b624d0b</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">API接口url</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[movie_api_s_url]" class="form-control" placeholder="" value="<?php  echo $settings['movie_api_s_url'];?>" />
						  <span class="help-block" style="color:red;">*API接口url。测试接口：http://movieapi-test.taototo.cn/</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">API接口url（V2版）</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[movie_api_s_url2]" class="form-control" placeholder="" value="<?php  echo $settings['movie_api_s_url2'];?>" />
						  <span class="help-block" style="color:red;">*API接口url。V2版测试接口：http://movieapi2-test.taototo.cn/</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">H5接口url（V2版）</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[movie_h5_s_url2]" class="form-control" placeholder="" value="https://yp-api.taototo.cn/" />
						  <span class="help-block" style="color:red;">*H5接口url。V2版接口：https://yp-api.taototo.cn/</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">电影票图片域名</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[movie_pic_s_url2]" class="form-control" placeholder="" value="<?php  if($settings['movie_pic_s_url2']) { ?><?php  echo $settings['movie_pic_s_url2'];?><?php  } else { ?>https://gw.alicdn.com/tfscom/cdn<?php  } ?>" />
						  <span class="help-block" style="color:red;">*默认为：https://gw.alicdn.com/tfscom/cdn，非特殊情况不要修改。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">API回调url</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[movie_api_notifyUrl]" class="form-control" placeholder="" value="<?php  echo $settings['movie_api_notifyUrl'];?>" />
						  <span class="help-block" style="color:red;">*API回调url。回调url请填：<?php  echo $_W['siteroot'];?>addons/<?php  echo $this->modulename?>/callback.php?id=<?php  echo $_W['uniacid'];?></span>
						</div>
					</div>
				</div>
				<div class="panel-heading">小程序订阅消息设置</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">电影出票成功通知订阅消息id</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[movie_tpl_1]" class="form-control" placeholder="" value="<?php  echo $settings['movie_tpl_1'];?>" />
						  <span class="help-block" style="color:red;">*请先添加生活服务-休闲娱乐类目，然后搜索：电影出票成功通知，依次选择：电影名称、影院名称、开场时间、影厅、座位信息。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">电影票购买结果通知订阅消息id</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[movie_tpl_2]" class="form-control" placeholder="" value="<?php  echo $settings['movie_tpl_2'];?>" />
						  <span class="help-block" style="color:red;">*请先添加生活服务-休闲娱乐类目，然后搜索：电影票购买结果通知，依次选择：购买结果、影院、影片信息。</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">购票协议设置</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">用户购票协议名称</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[movie_xieyi_name]" class="form-control" placeholder="" value="<?php  if($settings['movie_xieyi_name']) { ?><?php  echo $settings['movie_xieyi_name'];?><?php  } else { ?>用户购票协议<?php  } ?>" />
						  <span class="help-block" style="color:red;">*自定义用户购票协议名称。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">用户购票协议跳转url</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[movie_xieyi_url]" class="form-control" placeholder="" value="<?php  echo $settings['movie_xieyi_url'];?>" />
						  <span class="help-block" style="color:red;">*用户购票协议跳转url，可以是内部文章path或者公众号文章url，内部文章path格式为：./page?page_id=文章id</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">客服设置</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">微信客服二维码图片：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[movie_kefupic]', $settings['movie_kefupic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*请上传客服二维码图片</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">电话客服手机号</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[movie_kefutel]" class="form-control" placeholder="" value="<?php  echo $settings['movie_kefutel'];?>" />
						  <span class="help-block" style="color:red;">*请填写电话客服手机号</span>
						</div>
					</div>
					
				</div>

				<div class="panel-heading" style="display:none;">顶部轮播导航设置</div>
				<div class="panel-body" style="display:none;">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否开启顶部轮播导航：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[index_type_movie]" value="0" <?php  if($settings['index_type_movie'] == 0) { ?>checked="true"<?php  } ?> /> 否</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[index_type_movie]" value="1" <?php  if($settings['index_type_movie'] == 1) { ?>checked="true"<?php  } ?> /> 是</label>
						</div>
					</div>
				</div>
				<div class="panel-heading" style="display:none;">底部导航设置</div>
				<div class="panel-body" style="display:none;">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">电影票首页底部导航是否使用首页底部导航：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[movie_tabbar_isindex]" value="0" <?php  if($settings['movie_tabbar_isindex'] == 0) { ?>checked="true"<?php  } ?> /> 不使用</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[movie_tabbar_isindex]" value="1" <?php  if($settings['movie_tabbar_isindex'] == 1) { ?>checked="true"<?php  } ?> /> 使用</label>
						</div>
					</div>
				</div>

				
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="ad" style="display:<?php  if($_W['role']!='founder') { ?><?php  } else { ?><?php  } ?>;">
				<div class="panel-heading">小程序广告设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">激励视频广告位id</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[ad_jili_id]" class="form-control" placeholder="" value="<?php  echo $settings['ad_jili_id'];?>" />
						  <span class="help-block" style="color:red;">*小程序后台流量主:->广告管理->激励式广告->广告位ID。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">首页插屏广告位id</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[ad_index_cp_id]" class="form-control" placeholder="" value="<?php  echo $settings['ad_index_cp_id'];?>" />
						  <span class="help-block" style="color:red;">*小程序后台流量主:->广告管理->插屏广告->广告位ID。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">积分中心插屏广告位id</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[ad_cp_id]" class="form-control" placeholder="" value="<?php  echo $settings['ad_cp_id'];?>" />
						  <span class="help-block" style="color:red;">*小程序后台流量主:->广告管理->插屏广告->广告位ID。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">每日签到是否启用激励式视频双倍奖励：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[ad_is_everyday_video]" value="0" <?php  if($settings['ad_is_everyday_video'] == 0) { ?>checked="true"<?php  } ?> /> 不启用</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[ad_is_everyday_video]" value="1" <?php  if($settings['ad_is_everyday_video'] == 1) { ?>checked="true"<?php  } ?> /> 启用</label>
						</div>
					</div>
					
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="signin" style="display:<?php  if($_W['role']!='founder') { ?><?php  } else { ?><?php  } ?>;">
				<div class="panel-heading">签到设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否开启签到：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[is_integral]" value="0" <?php  if($settings['is_integral'] == 0) { ?>checked="true"<?php  } ?> /> 关闭</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[is_integral]" value="1" <?php  if($settings['is_integral'] == 1) { ?>checked="true"<?php  } ?> /> 开启</label>
						</div>
					</div>
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">第1天签到奖励积分</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[signin_1]" class="form-control" placeholder="" value="<?php  echo $settings['signin_1'];?>" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">第2天签到奖励积分</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[signin_2]" class="form-control" placeholder="" value="<?php  echo $settings['signin_2'];?>" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">第3天签到奖励积分</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[signin_3]" class="form-control" placeholder="" value="<?php  echo $settings['signin_3'];?>" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">第4天签到奖励积分</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[signin_4]" class="form-control" placeholder="" value="<?php  echo $settings['signin_4'];?>" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">第5天签到奖励积分</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[signin_5]" class="form-control" placeholder="" value="<?php  echo $settings['signin_5'];?>" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">第6天签到奖励积分</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[signin_6]" class="form-control" placeholder="" value="<?php  echo $settings['signin_6'];?>" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">第7天签到奖励积分</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[signin_7]" class="form-control" placeholder="" value="<?php  echo $settings['signin_7'];?>" />
						</div>
					</div>
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="error">
				<div class="panel-heading">调试代码</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否开启系统日志：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[errorcode]" value="0" <?php  if($settings['errorcode'] == 0) { ?>checked="true"<?php  } ?> /> 关闭</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[errorcode]" value="1" <?php  if($settings['errorcode'] == 1) { ?>checked="true"<?php  } ?> /> 开启</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">系统日志</label>
						<div class="col-sm-9 col-xs-12">
						  <a href="<?php  echo $this->createWebUrl('systemlog')?>">点击查看系统日志</a>
						</div>
					</div>
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">调试代码id</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[errorcodeid]" class="form-control" placeholder="" value="<?php  echo $settings['errorcodeid'];?>" />
						  <span class="help-block" style="color:red;">*调试代码id。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否开启小程序调试模式：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[xcx_debug]" value="0" <?php  if($settings['xcx_debug'] == 0) { ?>checked="true"<?php  } ?> /> 关闭</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[xcx_debug]" value="1" <?php  if($settings['xcx_debug'] == 1) { ?>checked="true"<?php  } ?> /> 开启</label>
						</div>
					</div>
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="myTab4" style="display:<?php  if($_W['role']!='founder') { ?><?php  } else { ?><?php  } ?>;">
				<div class="panel-heading">淘宝API设置</div>
				<div class="panel-heading" style="color:red;">***折淘客api需要去服务器安全规则中放行出站的10000、10001、10002、10003端口***</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">饿了么接口设置：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[elm_api_type]" value="0" <?php  if($settings['elm_api_type'] == 0 || !$settings['elm_api_type']) { ?>checked="true"<?php  } ?> /> 淘宝联盟</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[elm_api_type]" value="1" <?php  if($settings['elm_api_type'] == 1) { ?>checked="true"<?php  } ?> /> 聚推客联盟</label>
							<span class="help-block" style="color:red;">*如果使用淘宝联盟，请填写下面的折淘客等参数；</span>
							<span class="help-block" style="color:red;">*如果使用聚推客联盟，请去“美团API设置-聚推客联盟api设置”设置聚推客联盟参数；</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">折淘客Appkey</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[appkey]" class="form-control" placeholder="" value="<?php  echo $settings['appkey'];?>" />
						  <span class="help-block" style="color:red;">*填写即表示启用淘宝数据</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">折淘客淘宝账号（有渠道权限）sid</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[sid]" class="form-control" placeholder="" value="<?php  echo $settings['sid'];?>" />
						  <span class="help-block" style="color:red;">*如果要使用渠道功能，让用户先绑定淘宝账号，才能领取饿了么红包，请填写折淘客sid</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">淘宝联盟渠道pid</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[tbqudaopid]" class="form-control" placeholder="" value="<?php  echo $settings['tbqudaopid'];?>" />
						  <span class="help-block" style="color:red;">*如果要使用渠道功能，让用户先绑定淘宝账号，才能领取饿了么红包，请填写渠道PID，注意：这个渠道推广位不能出现在上传的推广位pid里面。</span>
						</div>
					</div>
					
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">饿了么外卖红包活动ID（淘宝联盟）</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[elmwm_promotion_scene_id]" class="form-control" placeholder="" value="<?php  if($settings['elmwm_promotion_scene_id']) { ?><?php  echo $settings['elmwm_promotion_scene_id'];?><?php  } else { ?>20150318020002192<?php  } ?>" />
						  <span class="help-block" style="color:red;">*默认活动ID：20150318020002192，非特殊情况不需要修改</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">饿了么果蔬商超红包活动ID（淘宝联盟）</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[elmsc_promotion_scene_id]" class="form-control" placeholder="" value="<?php  if($settings['elmsc_promotion_scene_id']) { ?><?php  echo $settings['elmsc_promotion_scene_id'];?><?php  } else { ?>1585018034441<?php  } ?>" />
						  <span class="help-block" style="color:red;">*默认活动ID：1585018034441，非特殊情况不需要修改</span>
						</div>
					</div>

					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">饿了么外卖红包活动ID（聚推客联盟）</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[elmwm_promotion_scene_id_jutuike]" class="form-control" placeholder="" value="<?php  if($settings['elmwm_promotion_scene_id_jutuike']) { ?><?php  echo $settings['elmwm_promotion_scene_id_jutuike'];?><?php  } else { ?>3<?php  } ?>" />
						  <span class="help-block" style="color:red;">*默认活动ID：3，非特殊情况不需要修改</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">饿了么果蔬商超红包活动ID（聚推客联盟）</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[elmsc_promotion_scene_id_jutuike]" class="form-control" placeholder="" value="<?php  if($settings['elmsc_promotion_scene_id_jutuike']) { ?><?php  echo $settings['elmsc_promotion_scene_id_jutuike'];?><?php  } else { ?>5<?php  } ?>" />
						  <span class="help-block" style="color:red;">*默认活动ID：5，非特殊情况不需要修改</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">授权窗口默认跳转提示文字</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[default_elmtext]" class="form-control" placeholder="" value="<?php  if($settings['default_elmtext']) { ?><?php  echo $settings['default_elmtext'];?><?php  } else { ?>有钱任性，直接领红包<?php  } ?>" />
						  <span class="help-block" style="color:red;">*默认为：有钱任性，直接领红包</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">饿了么外卖默认跳转path</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[default_elmwmpath]" class="form-control" placeholder="" value="<?php  if($settings['default_elmwmpath']) { ?><?php  echo $settings['default_elmwmpath'];?><?php  } else { ?><?php  } ?>" />
						  <span class="help-block" style="color:red;">*如果用户不授权，点了有钱任性的按钮，默认的跳转path</span>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">饿了么果蔬商超默认跳转path</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[default_elmscpath]" class="form-control" placeholder="" value="<?php  if($settings['default_elmscpath']) { ?><?php  echo $settings['default_elmscpath'];?><?php  } else { ?><?php  } ?>" />
						  <span class="help-block" style="color:red;">*如果用户不授权，点了有钱任性的按钮，默认的跳转path</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">PID过滤名单：</label>
						<div class="col-sm-10 col-xs-12">
							<textarea class="form-control" name="data[pid_black]" placeholder="每个pid之间用英文逗号,分隔"><?php  echo $settings['pid_black'];?></textarea>
							<span class="help-block" style="color:red;">*每个pid之间用英文逗号,分隔，名单内的pid将不能获取订单</span>
						</div>
					</div>
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="mall" style="display:<?php  if($_W['role']!='founder') { ?><?php  } else { ?><?php  } ?>;">
			    <div class="panel-heading">电商参数设置</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">蚂蚁星球API key</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[mall_myxq_apikey]" class="form-control" placeholder="" value="<?php  if($settings['mall_myxq_apikey']) { ?><?php  echo $settings['mall_myxq_apikey'];?><?php  } else { ?><?php  } ?>" />
						  <span class="help-block" style="color:red;">*京东、拼多多、唯品会需要使用蚂蚁星球的API接口，请去蚂蚁星球网站注册会员，然后去开发者中心获取API key：http://www.haojingke.com/index.php/v1/member/openapi/index</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">限制搜索、商品关键词</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[index_search_keywords]" class="form-control" placeholder="" value="<?php  if($settings['index_search_keywords']) { ?><?php  echo $settings['index_search_keywords'];?><?php  } else { ?>充值,话费,影视,会员,年卡,月卡,季卡,视频,Q币,q币,窃听,窃照,窃,伪基站,预设人像,预设,自动发货<?php  } ?>" />
						  <span class="help-block" style="color:red;">*请自行设置，避免搜索出违规商品，关键词之间用英文逗号分隔，默认为：充值,话费,影视,会员,年卡,月卡,季卡,视频,Q币,q币,窃听,窃照,窃,伪基站,预设人像,预设,自动发货</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">IOS系统限制展示关键词</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[ios_keywords]" class="form-control" placeholder="" value="<?php  if($settings['ios_keywords']) { ?><?php  echo $settings['ios_keywords'];?><?php  } else { ?>充值,话费,影视,会员,年卡,月卡,季卡,视频,Q币,q币,窃听,窃照,窃,伪基站,预设人像,预设,自动发货<?php  } ?>" />
						  <span class="help-block" style="color:red;">*请自行设置，避免IOS系统展示虚拟支付商品，关键词之间用英文逗号分隔，默认为：充值,话费,影视,会员,年卡,月卡,季卡,视频,Q币,q币,窃听,窃照,窃,伪基站,预设人像,预设,自动发货</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">IOS系统限制展示提示文字</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[ios_keywords_text]" class="form-control" placeholder="" value="<?php  if($settings['ios_keywords_text']) { ?><?php  echo $settings['ios_keywords_text'];?><?php  } else { ?>由于相关规范，iOS暂不支持该商品<?php  } ?>" />
						  <span class="help-block" style="color:red;">*请自行设置，默认为：由于相关规范，iOS暂不支持该商品</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">电商内容设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">电商平台设置</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[index_malltype]" class="form-control" placeholder="" value="<?php  if($settings['index_malltype']) { ?><?php  echo $settings['index_malltype'];?><?php  } else { ?>美团优选|天天实惠|youxuan,京东|实惠好货|jd|eliteId=22,拼多多|领券直降|pdd,唯品会|品牌特卖|wph<?php  } ?>" />
						  <span class="help-block" style="color:red;">*格式：平台名称|推荐语|平台标识，多个平台之间使用英文逗号,分隔，默认：美团优选|天天实惠|youxuan,京东|实惠好货|jd|eliteId=22,拼多多|领券直降|pdd,唯品会|品牌特卖|wph,淘宝/天猫|为你精选|tb</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否关注公众号才能搜索电商商品：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[mall_search_gzh]" value="0" <?php  if($settings['mall_search_gzh'] == 0) { ?>checked="true"<?php  } ?> /> 不限制</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[mall_search_gzh]" value="1" <?php  if($settings['mall_search_gzh'] == 1 || $settings['mall_search_gzh'] == '') { ?>checked="true"<?php  } ?> /> 关注才能搜</label>
							<span class="help-block" style="color:#f00">是否关注公众号才能搜索电商商品，适用于小程序与公众号联营模式。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否有推荐人才能搜索电商商品：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[mall_search_tjr]" value="0" <?php  if($settings['mall_search_tjr'] == 0) { ?>checked="true"<?php  } ?> /> 不限制</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[mall_search_tjr]" value="1" <?php  if($settings['mall_search_tjr'] == 1 || $settings['mall_search_tjr'] == '') { ?>checked="true"<?php  } ?> /> 有推荐人才能搜</label>
							<span class="help-block" style="color:#f00">是否有推荐人才能搜索电商商品。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">首页搜索框、首页电商列表是否关注公众号才显示：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[index_mall_all_gzh]" value="0" <?php  if($settings['index_mall_all_gzh'] == 0) { ?>checked="true"<?php  } ?> /> 不限制</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[index_mall_all_gzh]" value="1" <?php  if($settings['index_mall_all_gzh'] == 1 || $settings['index_mall_all_gzh'] == '') { ?>checked="true"<?php  } ?> /> 关注才显示</label>
							<span class="help-block" style="color:#f00">是否关注公众号才显示，适用于小程序与公众号联营模式。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">首页搜索框、首页电商列表是否有推荐人才显示：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[index_mall_all_tjr]" value="0" <?php  if($settings['index_mall_all_tjr'] == 0) { ?>checked="true"<?php  } ?> /> 不限制</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[index_mall_all_tjr]" value="1" <?php  if($settings['index_mall_all_tjr'] == 1 || $settings['index_mall_all_tjr'] == '') { ?>checked="true"<?php  } ?> /> 有推荐人才显示</label>
							<span class="help-block" style="color:#f00">是否有推荐人才显示。</span>
						</div>
					</div>
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">搜索框提示文字</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[index_search_placeholder]" class="form-control" placeholder="" value="<?php  if($settings['index_search_placeholder']) { ?><?php  echo $settings['index_search_placeholder'];?><?php  } else { ?>搜索商品标题，先领券再购买<?php  } ?>" />
						  <span class="help-block" style="color:red;">*默认文字：搜索商品标题，先领券再购买</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">淘宝联盟设置</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">淘宝联盟是否关注公众号才显示：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[index_mall_tb_gzh]" value="0" <?php  if($settings['index_mall_tb_gzh'] == 0) { ?>checked="true"<?php  } ?> /> 不限制</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[index_mall_tb_gzh]" value="1" <?php  if($settings['index_mall_tb_gzh'] == 1 || $settings['index_mall_tb_gzh'] == '') { ?>checked="true"<?php  } ?> /> 关注才显示</label>
							<span class="help-block" style="color:#f00">淘宝联盟是否关注公众号才显示，适用于小程序与公众号联营模式。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">淘宝联盟是否有推荐人才显示：</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[index_mall_tb_tjr]" value="0" <?php  if($settings['index_mall_tb_tjr'] == 0) { ?>checked="true"<?php  } ?> /> 不限制</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[index_mall_tb_tjr]" value="1" <?php  if($settings['index_mall_tb_tjr'] == 1 || $settings['index_mall_tb_tjr'] == '') { ?>checked="true"<?php  } ?> /> 有推荐人才显示</label>
							<span class="help-block" style="color:#f00">淘宝联盟是否有推荐人才显示</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商品详情页复制淘口令后提示文字</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[mall_tkl_text]" class="form-control" placeholder="" value="<?php  if($settings['mall_tkl_text']) { ?><?php  echo $settings['mall_tkl_text'];?><?php  } else { ?>复制成功，打开手机淘宝领券购买<?php  } ?>" />
						  <span class="help-block" style="color:red;">*默认为：复制成功，打开手机淘宝领券购买</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">自定义淘口令格式</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[mall_tkl_geshi]" class="form-control" placeholder="" value="<?php  if($settings['mall_tkl_geshi']) { ?><?php  echo $settings['mall_tkl_geshi'];?><?php  } else { ?>666淘口令666淘链接 标题/<?php  } ?>" />
						  <span class="help-block" style="color:red;">*默认为：666淘口令666淘链接 标题/，其中淘口令、淘链接、标题为变量，会被自动替换</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">复制淘口令方式</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[mall_tkl_copy_type]" value="0" <?php  if($settings['mall_tkl_copy_type'] == 0 || !$settings['mall_tkl_copy_type']) { ?>checked="true"<?php  } ?> /> 小程序直接复制</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline" style="display:<?php  if($_W['role']!='founder') { ?>none<?php  } else { ?><?php  } ?>;"><input type="radio" name="data[mall_tkl_copy_type]" value="1" <?php  if($settings['mall_tkl_copy_type'] == 1) { ?>checked="true"<?php  } ?> /> 打开H5中间页复制</label>
						</div>
					</div>
					<div class="form-group" style="display:<?php  if($_W['role']!='founder') { ?>none<?php  } else { ?><?php  } ?>;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">H5中间页域名</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[mall_tkl_domain]" class="form-control" placeholder="" value="<?php  if($settings['mall_tkl_domain']) { ?><?php  echo $settings['mall_tkl_domain'];?><?php  } else { ?><?php  } ?>" />
						 <span class="help-block" style="color:red;">*域名格式：https://aa.com/，使用H5中间页请添加该域名为业务域名</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">淘宝图标：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[mall_tb_icon]', $settings['mall_tb_icon'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*淘宝商品标题前面图标，尺寸：40*40</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">天猫图标：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[mall_tm_icon]', $settings['mall_tm_icon'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*天猫商品标题前面图标，尺寸：40*40</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">列表页设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">京东商品列表样式</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[mall_list_type_jd]" value="0" <?php  if($settings['mall_list_type_jd'] == 0 || !$settings['mall_list_type_jd']) { ?>checked="true"<?php  } ?> /> 横版</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[mall_list_type_jd]" value="1" <?php  if($settings['mall_list_type_jd'] == 1) { ?>checked="true"<?php  } ?> /> 竖版</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">拼多多商品列表样式</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[mall_list_type_pdd]" value="0" <?php  if($settings['mall_list_type_pdd'] == 0 || !$settings['mall_list_type_pdd']) { ?>checked="true"<?php  } ?> /> 横版</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[mall_list_type_pdd]" value="1" <?php  if($settings['mall_list_type_pdd'] == 1) { ?>checked="true"<?php  } ?> /> 竖版</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">唯品会商品列表样式</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[mall_list_type_wph]" value="0" <?php  if($settings['mall_list_type_wph'] == 0 || !$settings['mall_list_type_wph']) { ?>checked="true"<?php  } ?> /> 横版</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[mall_list_type_wph]" value="1" <?php  if($settings['mall_list_type_wph'] == 1) { ?>checked="true"<?php  } ?> /> 竖版</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">淘宝/天猫商品列表样式</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[mall_list_type_tb]" value="0" <?php  if($settings['mall_list_type_tb'] == 0 || !$settings['mall_list_type_tb']) { ?>checked="true"<?php  } ?> /> 横版</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[mall_list_type_tb]" value="1" <?php  if($settings['mall_list_type_tb'] == 1) { ?>checked="true"<?php  } ?> /> 竖版</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团优选商品列表样式</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[mall_list_type_youxuan]" value="0" <?php  if($settings['mall_list_type_youxuan'] == 0 || !$settings['mall_list_type_youxuan']) { ?>checked="true"<?php  } ?> /> 横版</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[mall_list_type_youxuan]" value="1" <?php  if($settings['mall_list_type_youxuan'] == 1) { ?>checked="true"<?php  } ?> /> 竖版</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商品列表是否显示返利信息</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[mall_is_fanli]" value="1" <?php  if($settings['mall_is_fanli'] == 1) { ?>checked="true"<?php  } ?><?php  if($settings['mall_is_fanli'] == '') { ?>checked="true"<?php  } ?> /> 显示</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[mall_is_fanli]" value="0" <?php  if($settings['mall_is_fanli'] == 0) { ?>checked="true"<?php  } ?> /> 隐藏</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商品列表是否显示积分信息</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[mall_is_credit]" value="1" <?php  if($settings['mall_is_credit'] == 1) { ?>checked="true"<?php  } ?> /> 显示</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[mall_is_credit]" value="0" <?php  if($settings['mall_is_credit'] == 0 || !$settings['mall_is_credit']) { ?>checked="true"<?php  } ?> /> 隐藏</label>
						</div>
					</div>
					<div class="form-group" style="display:none;">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团优选商品列表是否显示返利信息</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[mall_youxuan_is_fanli]" value="1" checked="true" /> 显示</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商品列表返利文字</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[mall_list_fanli_text]" class="form-control" placeholder="" value="<?php  if($settings['mall_list_fanli_text']) { ?><?php  echo $settings['mall_list_fanli_text'];?><?php  } else { ?>返<?php  } ?>" />
						  <span class="help-block" style="color:red;">*默认为：返</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商品列表返利信息样式（竖版列表适用）</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[mall_list_fanli_style]" class="form-control" placeholder="" value="<?php  if($settings['mall_list_fanli_style']) { ?><?php  echo $settings['mall_list_fanli_style'];?><?php  } else { ?>background-color: #ff6315!important;color: #FFFFFF;border-radius: 12rpx;<?php  } ?>" />
						  <span class="help-block" style="color:red;">*默认为：background-color: #ff6315!important;color: #FFFFFF;border-radius: 12rpx;</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商品列表商品信息样式（横版列表适用）</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[mall_list_goods_style]" class="form-control" placeholder="" value="<?php  if($settings['mall_list_goods_style']) { ?><?php  echo $settings['mall_list_goods_style'];?><?php  } else { ?>border-radius: 12rpx;<?php  } ?>" />
						  <span class="help-block" style="color:red;">*默认为：border-radius: 12rpx;</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">商品详情页设置</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商品详情是否显示返利信息</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[mall_goods_is_fanli]" value="1" <?php  if($settings['mall_goods_is_fanli'] == 1) { ?>checked="true"<?php  } ?><?php  if($settings['mall_goods_is_fanli'] == '') { ?>checked="true"<?php  } ?> /> 显示</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[mall_goods_is_fanli]" value="0" <?php  if($settings['mall_goods_is_fanli'] == 0) { ?>checked="true"<?php  } ?> /> 隐藏</label>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商品详情返利文字</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[mall_goods_fanli_text]" class="form-control" placeholder="" value="<?php  if($settings['mall_goods_fanli_text']) { ?><?php  echo $settings['mall_goods_fanli_text'];?><?php  } else { ?>预估收益<?php  } ?>" />
						  <span class="help-block" style="color:red;">*默认为：预估收益</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">商品详情是否显示积分信息</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[mall_goods_is_credit]" value="1" <?php  if($settings['mall_goods_is_credit'] == 1) { ?>checked="true"<?php  } ?> /> 显示</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[mall_goods_is_credit]" value="0" <?php  if($settings['mall_goods_is_credit'] == 0 || !$settings['mall_goods_is_credit']) { ?>checked="true"<?php  } ?> /> 隐藏</label>
						</div>
					</div>
				</div>
				<div class="panel-heading">搜索弹窗设置</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">顶部图片：</label>
						<div class="col-sm-9 col-xs-12">
							<?php  echo tpl_form_field_image('data[smart_search_pic]', $settings['smart_search_pic'], '', array('extras' => array('text' => 'readonly')))?>
							<span class="help-block" style="color:red;">*图片尺寸：580*150</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">输入框提示文字</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[smart_search_text]" class="form-control" placeholder="" value="<?php  if($settings['smart_search_text']) { ?><?php  echo $settings['smart_search_text'];?><?php  } else { ?>请输入或粘贴商品标题/关键词/链接/口令<?php  } ?>" />
						  <span class="help-block" style="color:red;">*默认为：请输入或粘贴商品标题/关键词/链接/口令</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">搜索按钮文字</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[smart_search_button]" class="form-control" placeholder="" value="<?php  if($settings['smart_search_button']) { ?><?php  echo $settings['smart_search_button'];?><?php  } else { ?>搜索优惠商品<?php  } ?>" />
						  <span class="help-block" style="color:red;">*默认为：搜索优惠商品</span>
						</div>
					</div>
					<div class="form-group">
					    <label class="col-xs-12 col-sm-3 col-md-2 control-label">搜索按钮颜色：</label>
						<div class="col-sm-4">
						<?php  if($settings['smart_search_button_color']) { ?>
							<?php  echo tpl_form_field_color('data[smart_search_button_color]',$settings['smart_search_button_color'])?>
						<?php  } else { ?>
						    <?php  echo tpl_form_field_color('data[smart_search_button_color]',$settings['waimaittnew_navigationBarBackgroundColor'])?>
						<?php  } ?>
						</div>
					</div>
				</div>
				<div class="panel-heading">商品海报二维码设置</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">海报二维码类型</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[mall_goods_poster_qrcode_type]" value="0" <?php  if($settings['mall_goods_poster_qrcode_type'] == 0) { ?>checked="true"<?php  } ?><?php  if($settings['mall_goods_poster_qrcode_type'] == '') { ?>checked="true"<?php  } ?> /> 小程序二维码</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[mall_goods_poster_qrcode_type]" value="1" <?php  if($settings['mall_goods_poster_qrcode_type'] == 1) { ?>checked="true"<?php  } ?> /> 公众号二维码</label>
							<span class="help-block" style="color:red;">*1、使用公众号二维码请先设置“联营公众号uniacid”（参数设置-公众号设置）；</span>
							<span class="help-block" style="color:red;">*2、公众号邀请海报二维码永久有效（数量最多10万个），其他公众号二维码有效期为30天，数量无限制；</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">电商聚合页电商平台精选商品配置</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">电商聚合页电商平台精选商品配置</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[mall_index_malltype]" class="form-control" placeholder="" value="<?php  if($settings['mall_index_malltype']) { ?><?php  echo $settings['mall_index_malltype'];?><?php  } else { ?>jd|eliteId=22,pdd|channel_type=1,wph|sourceType=0&channelType=1,tb|api_all.ashx?tag=1&sort=new<?php  } ?>" />
						  <span class="help-block" style="color:red;">*格式：平台标识|商品参数，多个平台之间使用英文逗号,分隔，平台标识：京东-jd，拼多多-pdd，唯品会-wph，淘宝/天猫-tb，默认：jd|eliteId=22,pdd|channel_type=1,wph|sourceType=0&channelType=1,tb|api_all.ashx?tag=1&sort=new</span>
						</div>
					</div>
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="job">
			    <div class="panel-heading">计划任务密码设置</div>
				<div class="panel-body">
			        <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">计划任务是否使用密码</label>
						<div class="col-sm-9 col-xs-12">
							<label class="radio-inline"><input type="radio" name="data[system_is_pwd]" value="0" <?php  if($settings['system_is_pwd'] == '0' || !$settings['system_is_pwd']) { ?>checked="true"<?php  } ?> /> 不使用</label>
							&nbsp;&nbsp;&nbsp;
							<label class="radio-inline"><input type="radio" name="data[system_is_pwd]" value="1" <?php  if($settings['system_is_pwd'] == '1') { ?>checked="true"<?php  } ?> /> 使用</label>
							<span class="help-block" style="color:red;">*使用密码可以保护计划任务不被恶意访问，设置密码后请保存之后刷新本页面。</span>
						</div>
					</div>
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">计划任务密码</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[pid_pwd]" class="form-control" placeholder="" value="<?php  if($settings['pid_pwd']) { ?><?php  echo $settings['pid_pwd'];?><?php  } else { ?><?php  echo mt_rand(1111, 9999);?><?php  } ?>" />
						  <span class="help-block" style="color:red;">*设置密码后请保存之后刷新本页面，如使用密码，请在下面的计划任务url后面加：&pwd=<?php  if($settings['pid_pwd']) { ?><?php  echo $settings['pid_pwd'];?><?php  } else { ?>密码<?php  } ?></span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">pid失活释放小时数</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[pid_hour]" class="form-control" placeholder="" value="<?php  if($settings['pid_hour']) { ?><?php  echo $settings['pid_hour'];?><?php  } else { ?>168<?php  } ?>" />
						  <span class="help-block" style="color:red;">*pid失活多少小时后释放，默认为168小时；</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">订单获取计划任务：请按需将下面的url加入到宝塔面板计划任务中</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label" style="color:red;">*统一订单获取任务，任务类型为访问url，每10分钟执行一次，url地址为：</label>
						<div class="col-sm-6">
							<?php  echo $_W['siteroot'];?>addons/<?php  echo $this->modulename?>/get_order.php?id=<?php  echo $_W['uniacid'];?>&sid=折淘客sid&order_scene=1&pwd=<?php  if($settings['pid_pwd']) { ?><?php  echo $settings['pid_pwd'];?><?php  } else { ?>密码<?php  } ?>
							<span class="help-block" style="color:blue;">*替换“折淘客sid”为折淘客sid，如果淘宝联盟使用的是普通pid，则只使用此订单获取计划任务即可，不要添加下面那个订单获取计划任务url；</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label" style="color:red;">*统一订单获取任务，任务类型为访问url，每10分钟执行一次，url地址为：</label>
						<div class="col-sm-6">
							<?php  echo $_W['siteroot'];?>addons/<?php  echo $this->modulename?>/get_order.php?id=<?php  echo $_W['uniacid'];?>&sid=折淘客sid&order_scene=2&pwd=<?php  if($settings['pid_pwd']) { ?><?php  echo $settings['pid_pwd'];?><?php  } else { ?>密码<?php  } ?>
							<span class="help-block" style="color:green;">*替换“折淘客sid”为折淘客sid，如果淘宝联盟使用的是渠道pid，则只使用此订单获取计划任务即可，不要添加上面那个订单获取计划任务url；</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label" style="color:orange;">*单平台订单获取任务参数：</label>
						<div class="col-sm-6">
							<span class="help-block" style="color:orange;">1）如果只获取聚推客的订单，请在url后面加：&type=8</span>
							<span class="help-block" style="color:orange;">2）如果只获取美团联盟（官方）的订单，请在url后面加：&type=3</span>
							<span class="help-block" style="color:orange;">3）如果只获取美团分销联盟（官方）的订单，请在url后面加：&type=2</span>
							<span class="help-block" style="color:orange;">4）如果只获取订单侠的订单，请在url后面加：&type=1</span>
							<span class="help-block" style="color:orange;">5）如果只获取淘宝联盟（含饿了么）的订单，请在url后面加：&type=4</span>
							<span class="help-block" style="color:orange;">6）如果只获取京东的订单，请在url后面加：&type=5</span>
							<span class="help-block" style="color:orange;">7）如果只获取拼多多的订单，请在url后面加：&type=6</span>
							<span class="help-block" style="color:orange;">8）如果只获取唯品会的订单，请在url后面加：&type=7</span>
						</div>
					</div>
				</div>
				<div class="panel-heading">其他计划任务：请按需将下面的url加入到宝塔面板计划任务中</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">1、实时结算发放佣金到用户余额，任务类型为访问url，每5分钟执行一次，url地址为：</label>
						<div class="col-sm-6">
							<?php  echo $_W['siteroot'];?>addons/<?php  echo $this->modulename?>/settlement_meituan_now.php?id=<?php  echo $_W['uniacid'];?>&pwd=<?php  if($settings['pid_pwd']) { ?><?php  echo $settings['pid_pwd'];?><?php  } else { ?>密码<?php  } ?>
							<span class="help-block" style="color:red;">*实时发放佣金平台请去“结算/提现设置”里面选择</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">2、小程序点餐提醒，任务类型为访问url，url地址为：</label>
						<div class="col-sm-6">
							<?php  echo $_W['siteroot'];?>addons/<?php  echo $this->modulename?>/subscribemessage.php?id=<?php  echo $_W['uniacid'];?>&pwd=<?php  if($settings['pid_pwd']) { ?><?php  echo $settings['pid_pwd'];?><?php  } else { ?>密码<?php  } ?>
							<span class="help-block" style="color:red;">说明：点餐提醒，具体执行时间请自行确定。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">3、自动任务，每5分钟执行一次，任务类型为访问url，url地址为：</label>
						<div class="col-sm-6">
							<?php  echo $_W['siteroot'];?>addons/<?php  echo $this->modulename?>/task.php?id=<?php  echo $_W['uniacid'];?>&pwd=<?php  if($settings['pid_pwd']) { ?><?php  echo $settings['pid_pwd'];?><?php  } else { ?>密码<?php  } ?>
							<span class="help-block" style="color:red;">说明：用于后台任务管理各项任务的自动统计、发放奖励。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">4、签到提醒，任务类型为访问url，url地址为：</label>
						<div class="col-sm-6">
							<?php  echo $_W['siteroot'];?>addons/<?php  echo $this->modulename?>/subscribemessage_sign.php?id=<?php  echo $_W['uniacid'];?>&pwd=<?php  if($settings['pid_pwd']) { ?><?php  echo $settings['pid_pwd'];?><?php  } else { ?>密码<?php  } ?>
							<span class="help-block" style="color:red;">说明：签到提醒，具体执行时间请自行确定。</span>
						</div>
					</div>
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="oldcontent">
				<div class="panel-heading">旧版内容管理（新版前端请配合新版内容管理使用）</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label" style="color:red;">广告管理：</label>
						<div class="col-sm-6">
							<a href="<?php  echo $this->createWebUrl('ad',array('op'=>'display'))?>">点击打开</a>
						</div>
					</div>
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label" style="color:red;">外卖1版首页内容：</label>
						<div class="col-sm-6">
							<a href="<?php  echo $this->createWebUrl('waimai',array('op'=>'display'))?>">点击打开</a>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label" style="color:red;">外卖2版首页内容：</label>
						<div class="col-sm-6">
							<a href="<?php  echo $this->createWebUrl('waimaitt',array('op'=>'display'))?>">点击打开</a>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label" style="color:red;">外卖3版首页内容：</label>
						<div class="col-sm-6">
							<a href="<?php  echo $this->createWebUrl('waimainew',array('op'=>'display'))?>">点击打开</a>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label" style="color:red;">积分兑换中心导航：</label>
						<div class="col-sm-6">
							<a href="<?php  echo $this->createWebUrl('jifen',array('op'=>'display'))?>">点击打开</a>
						</div>
					</div>
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="xcxpath">
				<div class="panel-heading">小程序内部跳转路径</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">首页：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="../index/index" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团外卖页面：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="../meituan/index" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团商超页面：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="../meituan/index?to=sc" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团吃喝玩乐页面：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="../meituangroup/index" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">饿了么外卖页面：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="../elm/index" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">饿了么商超页面：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="../elm/index?to=sc" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">电影票首页：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="../movie/index" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">电影票订单：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="../user/movieorder" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">积分兑换中心：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="../shop/index" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">积分商品详情：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="../../pagesA/pages/shopA/detail?item_id=商品id" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">积分商品订单：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="../user/creditorder" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">任务中心：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="../shop/task" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">个人中心：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="../user/index" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">文章列表：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="../index/list" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">文章详情：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="../index/page?page_id=文章id" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">今天吃什么：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="../../pagesA/pages/eat/index" />
						</div>
					</div>
				</div>
				<div class="panel-heading">公众号菜单路径</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">首页：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="pages/index/index" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团外卖页面：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="pages/meituan/index" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团商超页面：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="pages/meituan/index?to=sc" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">美团吃喝玩乐页面：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="pages/meituangroup/index" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">饿了么外卖页面：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="pages/elm/index" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">饿了么商超页面：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="pages/elm/index?to=sc" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">电影票首页：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="pages/movie/index" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">电影票订单：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="pages/user/movieorder" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">积分兑换中心：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="pages/shop/index" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">积分商品详情：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="pagesA/pages/shopA/detail?item_id=商品id" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">积分商品订单：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="pages/user/creditorder" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">任务中心：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="pages/shop/task" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">个人中心：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="pages/user/index" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">文章列表：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="pages/index/list" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">文章详情：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="pages/index/page?page_id=文章id" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">今天吃什么：</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" class="form-control"  disabled="disabled" value="pagesA/pages/eat/index" />
						</div>
					</div>
				</div>
			</div>
			<div role="tabpanel" class="tab-pane panel panel-default main" id="change">
				<div class="panel-heading">联营数据迁移</div>
				<div class="panel-body">
				    <div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">数据迁移密码</label>
						<div class="col-sm-9 col-xs-12">
						  <input type="text" name="data[pwd]" class="form-control" placeholder="" value="<?php  if($settings['pwd']) { ?><?php  echo $settings['pwd'];?><?php  } else { ?><?php  echo mt_rand(1111, 9999);?><?php  } ?>" />
						  <span class="help-block" style="color:red;">*填写密码，填写保存之后，才能获取数据迁移url。</span>
						</div>
					</div>
					
					<div class="form-group">
						<label class="col-xs-12 col-sm-3 col-md-2 control-label">数据迁移url，复制url到浏览器打开：</label>
						<div class="col-sm-6">
							<?php  if($settings['pwd'] && $settings['system_id']) { ?><?php  echo $_W['siteroot'];?>addons/<?php  echo $this->modulename?>/change.php?&xcxid=<?php  echo $_W['uniacid'];?>&lyid=<?php  echo $settings['system_id'];?>&pwd=<?php  echo $settings['pwd'];?><?php  } else { ?>请先设置数据迁移密码及联营平台id<?php  } ?>
						</div>
					</div>
					
				</div>
			</div>
		</div>
		
		<div class="form-group col-sm-12">
			<input type="submit" name="submit" value="提交" class="btn btn-primary" />
			<input type="hidden" name="token" value="<?php  echo $_W['token'];?>" />
		</div>
	</form>
</div>
<script>
$("input:radio[name=movie_ticket_type]").click(function(){
	var val = $(this).val();
	if(val == 0){
		$("#movie_ticket_adminopenid").hide();
		$("#movie_tpl_xcxdaibaojia").hide();
		//$("#movie_tpl_xcxbaojiaupdate").hide();
		//$("#movie_tpl_xcjingjia").hide();
	}else if(val == 1){
		$("#movie_ticket_adminopenid").show();
		$("#movie_tpl_xcxdaibaojia").show();
		//$("#movie_tpl_xcxbaojiaupdate").show();
		//$("#movie_tpl_xcjingjia").show();
	}
});
</script>
<?php (!empty($this) && $this instanceof WeModuleSite || 1) ? (include $this->template('common/footer', TEMPLATE_INCLUDEPATH)) : (include template('common/footer', TEMPLATE_INCLUDEPATH));?>